All files / components/layout/content index.js

0% Statements 0/15
0% Branches 0/4
0% Functions 0/2
0% Lines 0/7
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 }