@hitachivantara/uikit-react-core
Version:
Core React components for the NEXT Design System.
31 lines (30 loc) • 669 B
JavaScript
import { createClasses } from "@hitachivantara/uikit-react-utils";
import { theme } from "@hitachivantara/uikit-styles";
const { 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}`
}
});
export {
staticClasses,
useClasses
};