@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
24 lines • 872 B
text/typescript
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
//#region src/base-ui/Progress/type.d.ts
type ProgressType = 'line' | 'circle';
type ProgressVariant = 'line' | 'segments' | 'inset';
type ProgressStatus = 'normal' | 'active' | 'success' | 'exception';
type ProgressSize = 'small' | 'middle' | 'large' | number;
interface ProgressProps extends Omit<ComponentProps<'div'>, 'children'> {
className?: string;
format?: (percent: number) => ReactNode;
label?: ReactNode;
percent: number;
ref?: Ref<HTMLDivElement>;
segments?: number;
showInfo?: boolean;
size?: ProgressSize;
status?: ProgressStatus;
strokeColor?: string;
style?: CSSProperties;
type?: ProgressType;
variant?: ProgressVariant;
}
//#endregion
export { ProgressProps, ProgressSize, ProgressStatus, ProgressType, ProgressVariant };
//# sourceMappingURL=type.d.mts.map