All files / components/table/table-col index.js

0% Statements 0/32
0% Branches 0/12
0% Functions 0/4
0% Lines 0/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                                   
import React from 'react'
import PropTypes from 'prop-types'
import { Col } from 'react-flexbox-grid'
import cx from 'classnames'
 
const TableCol = ({ children, className, ...rest }) => (
  <Col {...rest} className={cx('colList', className)}>
    {children}
  </Col>
)
 
TableCol.propTypes = {
  children: PropTypes.element,
  className: PropTypes.string
}
 
export { TableCol }