UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

16 lines 685 B
import { jsx as _jsx } from "react/jsx-runtime"; import React from 'react'; import { STYLES_NAME } from '../../constants/stylesName/stylesName'; import { useStylesV2 } from '../../hooks/useStyles/useStylesV2'; import { TableCellStandAlone } from './tableCellStandAlone'; const TableCellComponent = ({ variant, ctv, ...props }, ref) => { const styles = useStylesV2({ styleName: STYLES_NAME.TABLE_CELL, variantName: variant, customTokens: ctv, isOptional: true, }); return _jsx(TableCellStandAlone, { ref: ref, styles: styles, ...props }); }; export const TableCell = React.forwardRef(TableCellComponent); //# sourceMappingURL=tableCell.js.map