diff --git a/scm-ui-components/packages/ui-components/src/modals/Modal.js b/scm-ui-components/packages/ui-components/src/modals/Modal.js index 960f8277f0..01da67c49b 100644 --- a/scm-ui-components/packages/ui-components/src/modals/Modal.js +++ b/scm-ui-components/packages/ui-components/src/modals/Modal.js @@ -8,12 +8,17 @@ type Props = { body: any, footer?: any, active: boolean, - className?: string + className?: string, + headColor?: string }; class Modal extends React.Component { + static defaultProps = { + headColor: "light" + }; + render() { - const { title, closeFunction, body, footer, active, className } = this.props; + const { title, closeFunction, body, footer, active, className, headColor } = this.props; const isActive = active ? "is-active" : null; @@ -26,7 +31,7 @@ class Modal extends React.Component {
-
+

{title}