diff --git a/src/components/Button.jsx b/src/components/Button.jsx index e769007..0d350b0 100644 --- a/src/components/Button.jsx +++ b/src/components/Button.jsx @@ -9,12 +9,14 @@ class Button extends React.Component { onClick: PropTypes.func, style: PropTypes.object, className: PropTypes.string, - children: PropTypes.node + children: PropTypes.node, + disabled: PropTypes.bool, } render() { return + diff --git a/src/styles/_components.scss b/src/styles/_components.scss index 302ec52..58ab88f 100644 --- a/src/styles/_components.scss +++ b/src/styles/_components.scss @@ -77,6 +77,12 @@ background-color: lighten($color-midgray, 12); color: $color-white; } + + &:disabled { + background-color: darken($color-midgray, 5); + color: $color-midgray; + cursor: not-allowed; + } } .maputnik-big-button {