@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
23 lines (22 loc) • 486 B
TypeScript
export type LoadingDotsVariant = 'dots' | 'pulse' | 'wave' | 'orbit' | 'typing';
export interface LoadingDotsProps {
/**
* 自定义类名
*/
className?: string;
/**
* 点的颜色
* @description 如果不提供,将使用主题的 colorPrimary
*/
color?: string;
/**
* 点的大小(直径)
* @default 8
*/
size?: number;
/**
* 动画变体
* @default 'dots'
*/
variant?: LoadingDotsVariant;
}