All files / components/grid/row index.js

0% Statements 0/26
0% Branches 0/8
0% Functions 0/3
0% Lines 0/9
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 css from 'classnames'
import PropTypes from 'prop-types'
import { Row as FlexBoxRow } from 'react-flexbox-grid'
 
import RowStyled from './row.styled'
 
const Row = ({ full, ...rest }) => {
  return (
    <RowStyled className={css({'full': full})}>
      <FlexBoxRow {...rest} />
    </RowStyled>
  )
}
 
Row.propTypes = {
  full: PropTypes.bool
}
 
export { Row }