spartan-ui
Version:
React component library that focusses on getting the basics right leaving the design up to you
18 lines (17 loc) • 488 B
TypeScript
import { FunctionComponent, ReactNode } from 'react';
import { CommonProps } from '../../types';
interface RenderProps {
indicatorProps: object;
messageProps: object;
}
interface ProgressProps extends CommonProps {
children: (props: RenderProps) => ReactNode;
id: string;
loading?: boolean;
value?: number;
min?: number;
max?: number;
label: string;
}
declare const Progress: FunctionComponent<ProgressProps>;
export default Progress;