on 1597ccd help sign in
21 lines 445 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
3import ProtoButton from './ProtoButton';
5const Button = props => {
6 return <ProtoButton {...props}>{props.children}</ProtoButton>;
7};
9Button.propTypes = {
10 'prop-color': PropTypes.string,
11 'prop-size': PropTypes.string,
12 'prop-type': PropTypes.string,
13};
15Button.defaultProps = {
16 'prop-color': 'blue',
17 'prop-size': 'md',
18 'prop-type': 'solid',
19};
21export default Button;