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 ContentStyled from './content.styled' const Content = ({ children, stretch }) => { return ( <ContentStyled stretch={stretch}> {children} </ContentStyled> ) } Content.propTypes = { children: PropTypes.node, stretch: PropTypes.bool } export { Content } |