| 1 |
import { __rest } from "tslib"; |
| 2 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 3 |
import { forwardRef } from 'react'; |
| 4 |
import { css } from '@patternfly/react-styles'; |
| 5 |
import styles from '@patternfly/react-styles/css/components/Table/table.mjs'; |
| 6 |
const TbodyBase = (_a) => { |
| 7 |
var { children, className, isExpanded, innerRef, isEvenStriped = false, isOddStriped = false } = _a, props = __rest(_a, ["children", "className", "isExpanded", "innerRef", "isEvenStriped", "isOddStriped"]); |
| 8 |
return (_jsx("tbody", Object.assign({ role: "rowgroup", className: css(styles.tableTbody, className, isExpanded && styles.modifiers.expanded, isOddStriped && styles.modifiers.striped, isEvenStriped && styles.modifiers.stripedEven), ref: innerRef }, props, { children: children }))); |
| 9 |
}; |
| 10 |
export const Tbody = forwardRef((props, ref) => (_jsx(TbodyBase, Object.assign({}, props, { innerRef: ref })))); |
| 11 |
Tbody.displayName = 'Tbody'; |
| 12 |
//# sourceMappingURL=Tbody.js.map |