UNPKG

@hitachivantara/uikit-react-core

Version:
31 lines (30 loc) 881 B
import { theme } from "@hitachivantara/uikit-styles"; import { createClasses } from "@hitachivantara/uikit-react-utils"; //#region src/ProgressBar/ProgressBar.styles.tsx var { useClasses, staticClasses } = createClasses("HvProgressBar", { root: { display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", width: "100%" }, progress: { width: "100%" }, progressBar: { backgroundColor: theme.colors.text }, progressBarLabel: { backgroundColor: "transparent", display: "flex", justifyContent: "end" }, progressContainer: { width: "100%" }, progressDone: { backgroundColor: theme.colors.positive }, progressBarContainer: { display: "flex", width: "100%", height: 4, backgroundColor: theme.colors.border }, progressError: { backgroundColor: theme.colors.negative } }); //#endregion export { staticClasses, useClasses };