anvil/striker-ui/types/StackBar.d.ts

15 lines
358 B
TypeScript
Raw Normal View History

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>;
};