react-customizable-progressbar
Version:
Customizable circular SVG progress bar component for React
35 lines (31 loc) • 996 B
TypeScript
import { FunctionComponent } from 'react';
import { ReactNode } from 'react';
declare const Index: FunctionComponent<ReactCustomizableProgressbarProps>;
export default Index;
declare type ReactCustomizableProgressbarProps = {
radius: number;
progress: number;
steps?: number;
cut?: number;
rotate?: number;
strokeWidth?: number;
strokeColor?: string;
fillColor?: string;
strokeLinecap?: 'round' | 'inherit' | 'butt' | 'square';
transition?: string;
pointerRadius?: number;
pointerStrokeWidth?: number;
pointerStrokeColor?: string;
pointerFillColor?: string;
trackStrokeColor?: string;
trackStrokeWidth?: number;
trackStrokeLinecap?: 'round' | 'inherit' | 'butt' | 'square';
trackTransition?: string;
counterClockwise?: boolean;
inverse?: boolean;
initialAnimation?: boolean;
initialAnimationDelay?: number;
className?: string;
children?: ReactNode;
};
export { }