UNPKG

@gluestack-ui/progress

Version:

A universal headless progress component for React Native, Next.js & React

28 lines (27 loc) 849 B
export interface InterfaceProgressProps { /** * Value of Progress. * @default 0 */ value?: number; /** * Min progress value * @default 0 */ min?: number; /** * Max progress value * @default 100 */ max?: number; /** * Orientation of the progress bar. * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; children?: any; } export type IProgressComponentType<ProgressProps, ProgressFilledTrackProps> = React.ForwardRefExoticComponent<React.PropsWithoutRef<ProgressProps> & React.RefAttributes<ProgressProps> & InterfaceProgressProps> & { FilledTrack: React.ForwardRefExoticComponent<React.PropsWithoutRef<ProgressFilledTrackProps> & React.RefAttributes<ProgressFilledTrackProps>>; }; export type IProgressProps = InterfaceProgressProps;