Sha256: dfd6b98b9708c266f0391f60b3950ecc910e1177faa1a6af8bbb3a0dbf240ba9
Contents?: true
Size: 661 Bytes
Versions: 7
Compression:
Stored size: 661 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { buildCss } from '../utilities/props' type TableRowPropTypes = { children: Array<React.ReactNode> | React.ReactNode, className: String, sideHighlightColor: String, } const TableRow = ({ children, className, sideHighlightColor = 'windows', }: TableRowPropTypes) => { const sideHighlightClass = sideHighlightColor != '' ? `side_highlight_${sideHighlightColor}` : null const tableRowCss = buildCss('pb_table_row_kit', sideHighlightClass) return ( <tr className={classnames(tableRowCss, className)}> {children} </tr> ) } export default TableRow
Version data entries
7 entries across 7 versions & 1 rubygems