| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import React from 'react' import PropTypes from 'prop-types' import { Button } from 'src' import Container from './modal-button.styled' const ModalButton = ({ className, width, value, ...rest }) => ( <Container className={className} width={width}> <Button {...rest} > {value} </Button> </Container> ) ModalButton.propTypes = { className: PropTypes.string, width: PropTypes.any // String ou Number? } export default ModalButton |