UNPKG

@hitachivantara/uikit-react-core

Version:
16 lines (15 loc) 727 B
import { theme } from "@hitachivantara/uikit-styles"; import { createClasses } from "@hitachivantara/uikit-react-utils"; //#region src/Banner/Banner.styles.tsx var { useClasses, staticClasses } = createClasses("HvBanner", { /** Styles applied to the component root class when the component is closed. */ rootClosed: { display: "none" }, /** Styles applied to the component root class. */ root: { minWidth: `calc(100% - ${theme.space.sm})` }, /** Styles applied to the component when define as top. */ anchorOriginTopCenter: { top: theme.space.xs }, /** Styles applied to the component when define as bottom. */ anchorOriginBottomCenter: { bottom: theme.space.xs } }); //#endregion export { staticClasses, useClasses };