@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
32 lines (31 loc) • 670 B
text/typescript
import { CSSProperties } from "react";
//#region src/chat/LoadingDots/type.d.ts
type LoadingDotsVariant = 'dots' | 'pulse' | 'wave' | 'orbit' | 'typing';
interface LoadingDotsProps {
/**
* 自定义类名
*/
className?: string;
/**
* 点的颜色
* @description 如果不提供,将使用主题的 colorPrimary
*/
color?: string;
/**
* 点的大小(直径)
* @default 8
*/
size?: number;
/**
* 自定义样式
*/
style?: CSSProperties;
/**
* 动画变体
* @default 'dots'
*/
variant?: LoadingDotsVariant;
}
//#endregion
export { LoadingDotsProps, LoadingDotsVariant };
//# sourceMappingURL=type.d.mts.map