mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 06:03:58 -05:00
Added progress component
This commit is contained in:
29
lib/types/Progress.d.ts
vendored
Normal file
29
lib/types/Progress.d.ts
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
export type ProgressSize = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
||||
export type ProgressRounding = "none" | "sm" | "md" | "lg" | "full";
|
||||
|
||||
|
||||
export interface ProgressProps {
|
||||
id?: string;
|
||||
className?: string;
|
||||
value?: number;
|
||||
min: number;
|
||||
max: number;
|
||||
size?: ProgressSize;
|
||||
rounding?: ProgressRounding;
|
||||
label: string;
|
||||
tabIndex?: number;
|
||||
progressColor: string;
|
||||
backgroundColor: string;
|
||||
}
|
||||
|
||||
export interface ThemedProgressProps {
|
||||
id?: string;
|
||||
className?: string;
|
||||
value?: number;
|
||||
min: number;
|
||||
max: number;
|
||||
size?: ProgressSize;
|
||||
rounding?: ProgressRounding;
|
||||
label: string;
|
||||
tabIndex?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user