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