@hitachivantara/uikit-react-core
Version:
UI Kit Core React components.
28 lines (27 loc) • 722 B
JavaScript
import { theme } from "@hitachivantara/uikit-styles";
import { createClasses } from "@hitachivantara/uikit-react-utils";
//#region src/Tooltip/Tooltip.styles.tsx
var { staticClasses, useClasses } = createClasses("HvTooltip", {
root: {},
tooltip: {
...theme.typography.body,
display: "flex",
width: "fit-content",
maxWidth: 532,
backgroundColor: theme.colors.bgContainer,
boxShadow: theme.colors.shadow,
padding: theme.space.sm,
borderRadius: theme.radii.round,
"& p": {
display: "-webkit-box",
width: "fit-content",
boxOrient: "vertical",
textOverflow: "ellipsis",
wordBreak: "break-word",
overflow: "hidden"
}
},
popper: {}
});
//#endregion
export { staticClasses, useClasses };