UNPKG

@furystack/shades-common-components

Version:

Common UI components for FuryStack Shades

30 lines 1.04 kB
import type { Palette } from '../services/theme-provider-service.js'; export type LinearProgressProps = { /** * A progress value (0–100). Used when variant is 'determinate'. */ value?: number; /** * The variant of the progress indicator. * - 'determinate': shows a fixed progress bar based on `value` * - 'indeterminate': shows an animated looping bar * @default 'indeterminate' */ variant?: 'determinate' | 'indeterminate'; /** * The palette color for the progress bar. * @default 'primary' */ color?: keyof Palette; /** * The height of the progress bar. * @default 'medium' */ size?: 'small' | 'medium'; }; export declare const LinearProgress: (props: LinearProgressProps & Omit<Partial<HTMLElement>, "style"> & { style?: Partial<CSSStyleDeclaration>; } & { ref?: import("@furystack/shades").RefObject<Element>; }, children?: import("@furystack/shades").ChildrenList) => JSX.Element; //# sourceMappingURL=linear-progress.d.ts.map