ReferenceComponentsFeedback
ProgressProps
ProgressProps component contract.
Type
export interface ProgressProps
extends SlottedComponentProps<{ root: TextProps }, ProgressState> {
readonly id?: string;
readonly testId?: string;
readonly label?: string;
readonly value: number;
readonly max?: number;
readonly width?: number;
readonly showValue?: boolean;
readonly disabled?: boolean;
readonly readOnly?: boolean;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
id | string | undefined | No | The id member uses the string | undefined contract. | — |
testId | string | undefined | No | The testId member uses the string | undefined contract. | — |
label | string | undefined | No | The label member uses the string | undefined contract. | — |
value | number | Yes | The value member uses the number contract. | — |
max | number | undefined | No | The max member uses the number | undefined contract. | — |
width | number | undefined | No | The width member uses the number | undefined contract. | — |
showValue | boolean | undefined | No | The showValue member uses the boolean | undefined contract. | — |
disabled | boolean | undefined | No | The disabled member uses the boolean | undefined contract. | — |
readOnly | boolean | undefined | No | The readOnly member uses the boolean | undefined contract. | — |
slots | Partial<SlotComponents<{ root: import("../../../registry/data-display/text").TextProps; }>> | undefined | No | The slots member uses the Partial<SlotComponents<{ root: import("../../../registry/data-display/text").TextProps; }>> | undefined contract. | SlotComponents, TextProps |
slotProps | Partial<SlotProps<{ root: import("../../../registry/data-display/text").TextProps; }, ProgressState>> | undefined | No | The slotProps member uses the Partial<SlotProps<{ root: import("../../../registry/data-display/text").TextProps; }, ProgressState>> | undefined contract. | SlotProps, TextProps |
unstyled | boolean | undefined | No | The unstyled member uses the boolean | undefined contract. | — |
variant | string | undefined | No | The variant member uses the string | undefined contract. | — |
size | "sm" | "md" | "lg" | undefined | No | The size member uses the "sm" | "md" | "lg" | undefined contract. | — |