Skip to content
Snippets Groups Projects
Commit 6b883c16 authored by Tom Robinson's avatar Tom Robinson
Browse files

Button component propTypes

parent 7e866076
Branches
Tags
No related merge requests found
......@@ -32,4 +32,21 @@ const Button = ({ className, icon, children, ...props }) => {
);
}
Button.propTypes = {
className: PropTypes.string,
icon: PropTypes.string,
children: PropTypes.any,
small: PropTypes.bool,
medium: PropTypes.bool,
large: PropTypes.bool,
primary: PropTypes.bool,
warning: PropTypes.bool,
cancel: PropTypes.bool,
purple: PropTypes.bool,
borderless: PropTypes.bool
};
export default Button;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment