UNPKG

@hitachivantara/uikit-react-core

Version:
23 lines (22 loc) 819 B
import { HvSection } from "../../Section/Section.js"; import { useClasses } from "./TableSection.styles.js"; import { useDefaultProps } from "@hitachivantara/uikit-react-utils"; import { forwardRef } from "react"; import { jsx } from "react/jsx-runtime"; //#region src/Table/TableSection/TableSection.tsx /** * The `HvTableSection` component is a wrapper for the `HvSection` component that applies * specific stylings for tables that follow the latest DS specifications. */ var HvTableSection = forwardRef(function HvTableSection(props, ref) { const { classes: classesProp, children, ...others } = useDefaultProps("HvTableSection", props); const { classes } = useClasses(classesProp); return /* @__PURE__ */ jsx(HvSection, { ref, classes, ...others, children }); }); //#endregion export { HvTableSection };