anvil/striker-ui/types/StackBar.d.ts
2023-10-02 15:18:14 -04:00

15 lines
358 B
TypeScript

type StackBarValue = {
colour?: string | Record<number, string>;
value: number;
};
type StackBarOptionalProps = {
barProps?: import('@mui/material').LinearProgressProps;
thin?: boolean;
underlineProps?: import('@mui/material').BoxProps;
};
type StackBarProps = StackBarOptionalProps & {
value: StackBarValue | Record<string, StackBarValue>;
};