Sha256: 3e506f3c66c22a25584112d15640e61f99a84ec779fe0b197438b38aedc2b460
Contents?: true
Size: 758 Bytes
Versions: 3
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
3 entries across 3 versions & 1 rubygems