| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import React from 'react' import PropTypes from 'prop-types' import Footer from './modal-footer.styled' const ModalFooter = ({ children, className, align }) => ( <Footer align={align} className={className}> {children} </Footer> ) ModalFooter.propTypes = { children: PropTypes.element, className: PropTypes.string, align: PropTypes.any // ??? } export default ModalFooter |