UNPKG

@hitachivantara/uikit-react-core

Version:
26 lines (25 loc) 663 B
import { theme } from "@hitachivantara/uikit-styles"; import { createClasses } from "@hitachivantara/uikit-react-utils"; //#region src/Table/Table.styles.tsx var { staticClasses, useClasses } = createClasses("HvTable", { root: { position: "relative", width: "100%", ...theme.typography.body, borderSpacing: 0, "& caption": { ...theme.typography.body, padding: theme.space.xs, textAlign: "left", captionSide: "bottom" } }, stickyHeader: {}, stickyColumns: { backgroundColor: theme.colors.bgPage, "&": { borderSpacing: 0 } }, listRow: { borderSpacing: `0 ${theme.space.xs}` } }); //#endregion export { staticClasses, useClasses };