Generated API snapshot
@askrjs/themes/progress
Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.
Exports
This entrypoint publishes 6 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
Progresstype
Progress: (props: ProgressProps) => JSX.ElementRenders the progress part of progress with role="progressbar".
ProgressIndicatortype
ProgressIndicator: { (props: ProgressIndicatorProps): JSX.Element; (props: ProgressIndicatorAsChildProps): JSX.Element; }Renders the progress-indicator part of progress.
Supports polymorphic rendering via asChild.
ProgressIndicatorAsChildPropstype
ProgressIndicatorAsChildProps: BoxAsChildPropsProps for the asChild (polymorphic) rendering of Progress Indicator.
asChild- asChild: true;
children- children: JSXElement;
ref- ref?: Ref<Element>;
ProgressIndicatorPropstype
ProgressIndicatorProps: BoxProps<'div', HTMLDivElement>Props for Progress Indicator.
asChild- asChild?: false | undefined;
children- children?: unknown;
ref- ref?: Ref<HTMLDivElement>;
ProgressOwnPropstype
ProgressOwnProps: {
children?: unknown;
id?: string;
value?: number | null;
max?: number;
getValueLabel?: (value: number | null, max: number) => string;
}Own props for Progress, before merging with native element attributes.
children- children?: unknown;
getValueLabel- getValueLabel?: ((value: number | null, max: number) => string) | undefined;
id- id?: string | undefined;
max- max?: number | undefined;
value- value?: number | null | undefined;
ProgressPropstype
ProgressProps: BoxProps<'div', HTMLDivElement> & ProgressOwnPropsProps for Progress.
asChild- asChild?: false | undefined;
children- children?: unknown;
getValueLabel- getValueLabel?: ((value: number | null, max: number) => string) | undefined;
id- id?: string | undefined;
max- max?: number | undefined;
ref- ref?: Ref<HTMLDivElement>;
value- value?: number | null | undefined;