diff --git a/src/components/button/button.js b/src/components/button/button.js index 9403698..0f1f1e4 100644 --- a/src/components/button/button.js +++ b/src/components/button/button.js @@ -5,16 +5,16 @@ import "./button.scss"; export const Button = ({ children, onClick, - type, + color, size, disabled, inverted, - inputType + type }) => { const classNames = ["button"]; - if (type) { - classNames.push(`is-${type}`); + if (color) { + classNames.push(`is-${color}`); } if (size) { @@ -27,7 +27,7 @@ export const Button = ({ return ( ); @@ -41,7 +41,7 @@ export const disabledAndInverted = () => { export const danger = () => { return ( - );