Sha256: ae03e9875edbc20dcee265cec9740ff2a2269dc64b32b1a73a032f49406a5da3
Contents?: true
Size: 758 Bytes
Versions: 7
Compression:
Stored size: 758 Bytes
Contents
/* @flow */ import React from 'react' import classnames from 'classnames' import { buildCss } from '../utilities/props' import { globalProps } from '../utilities/globalProps.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, globalProps(props))}> {children} </tr> ) } export default TableRow
Version data entries
7 entries across 7 versions & 1 rubygems