import React from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import './button.css'; const Button = ({children, className, onClick, type = 'button'}) => { const cssClasses = classNames('btn', className); return ( ); }; Button.propTypes = { children: PropTypes.node, className: PropTypes.string, onClick: PropTypes.func, type: PropTypes.oneOf(['button', 'reset', 'submit']) }; export default Button;