| @@ -1,5 +1,4 @@ | ||
| 1 | -import PropTypes from 'prop-types'; | |
| 2 | 1 | import classNames from 'classnames'; |
| 3 | 2 | |
| 4 | 3 | import styles from './style.module.scss'; |
| 5 | 4 | |
| @@ -13,16 +12,7 @@ | ||
| 13 | 12 | <button className={classes} onClick={onClick} {...rest}> |
| 14 | 13 | {children} |
| 15 | 14 | </button> |
| 16 | 15 | ); |
| 17 | -}; | |
| 18 | - | |
| 19 | -Button.propTypes = { | |
| 20 | - // Button children | |
| 21 | - children: PropTypes.node, | |
| 22 | - // Fired on button click | |
| 23 | - onClick: PropTypes.func, | |
| 24 | - // Icon | |
| 25 | - icon: PropTypes.bool, | |
| 26 | 16 | }; |
| 27 | 17 | |
| 28 | 18 | export default Button; |