UNPKG

zent

Version:

一套前端设计语言和基于React的实现

26 lines (21 loc) 644 B
export type LoadingColorPreset = 'primary' | 'grey'; export interface ILoadingBaseProps { loading?: boolean; delay?: number; icon?: 'youzan' | 'circle'; iconSize?: number; iconText?: React.ReactNode; colorPreset?: LoadingColorPreset; textPosition?: 'top' | 'bottom' | 'left' | 'right'; className?: string; textSize?: number; } export interface IBlockLoadingProps extends ILoadingBaseProps { height?: number | string; children?: React.ReactNode; } export type IInlineLoadingProps = ILoadingBaseProps; export interface IFullScreenLoadingProps extends ILoadingBaseProps { zIndex?: number; showBackground?: boolean; }