@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
18 lines • 578 B
text/typescript
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
//#region src/base-ui/Spin/type.d.ts
type SpinSize = 'small' | 'middle' | 'large' | number;
type SpinVariant = 'default' | 'network';
interface SpinProps extends Omit<ComponentProps<'div'>, 'children'> {
children?: ReactNode;
indicator?: ReactNode;
percent?: number;
ref?: Ref<HTMLDivElement>;
size?: SpinSize;
spinning?: boolean;
style?: CSSProperties;
tip?: ReactNode;
variant?: SpinVariant;
}
//#endregion
export { SpinProps, SpinSize, SpinVariant };
//# sourceMappingURL=type.d.mts.map