UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

25 lines (22 loc) 673 B
import * as react_jsx_runtime from 'react/jsx-runtime'; type ProgressIndicatorProps = { progress: number; strokeWidth?: number; size?: keyof typeof sizeMapping; direction?: 'clockwise' | 'counterclockwise'; rotation?: number; }; declare const sizeMapping: { small: number; medium: number; big: number; }; /** * A progress indicator * * Start rotation is 3 o'clock and fills counterclockwise * * Progress is given from 0 to 1 */ declare const ProgressIndicator: ({ progress, strokeWidth, size, direction, rotation }: ProgressIndicatorProps) => react_jsx_runtime.JSX.Element; export { ProgressIndicator, type ProgressIndicatorProps };