| 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 TheadBase = (_a) => { |
| 7 |
var { children, className, noWrap = false, innerRef, hasNestedHeader } = _a, props = __rest(_a, ["children", "className", "noWrap", "innerRef", "hasNestedHeader"]); |
| 8 |
return (_jsx("thead", Object.assign({ className: css(styles.tableThead, className, noWrap && styles.modifiers.nowrap, hasNestedHeader && styles.modifiers.nestedColumnHeader), ref: innerRef }, props, { children: children }))); |
| 9 |
}; |
| 10 |
export const Thead = forwardRef((props, ref) => (_jsx(TheadBase, Object.assign({}, props, { innerRef: ref })))); |
| 11 |
Thead.displayName = 'Thead'; |
| 12 |
//# sourceMappingURL=Thead.js.map |