@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
17 lines (16 loc) • 579 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import classNames from "classnames";
/**
* Table component (table element)
* @visibleName Table
*/ const Table = /*#__PURE__*/ forwardRef(({ className, noBorder, vertical, ...props }, ref)=>/*#__PURE__*/ _jsx("table", {
className: classNames(className, "bf-table", "bfc-base-3-bg", {
"bf-table-noborder": noBorder,
"bf-table-vertical-header": vertical
}),
ref: ref,
...props
}));
Table.displayName = "Table";
export default Table;