add button props

This commit is contained in:
Rodrigo Antinarelli 2020-02-14 19:46:27 -03:00 committed by James A. Petts
parent c68d0173df
commit f713306fe3

View File

@ -115,10 +115,17 @@ const sizeClasses = {
};
Button.propTypes = {
children: PropTypes.node,
size: PropTypes.oneOf(['small', 'medium', 'large']),
radius: PropTypes.oneOf(['small', 'medium', 'large', 'full']),
variant: PropTypes.oneOf(['text', 'outlined', 'contained']),
color: PropTypes.oneOf(['default', 'primary', 'secondary']),
disabled: PropTypes.bool,
elevation: PropTypes.bool,
type: PropTypes.string,
startIcon: PropTypes.node,
endIcon: PropTypes.node,
className: PropTypes.node,
};
export default Button;