UNPKG

zent

Version:

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

23 lines (22 loc) 714 B
/// <reference types="react" /> export declare 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 declare type IInlineLoadingProps = ILoadingBaseProps; export interface IFullScreenLoadingProps extends ILoadingBaseProps { zIndex?: number; showBackground?: boolean; }