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 } |