@cainiaofe/cn-ui-m
Version:
33 lines (32 loc) • 666 B
TypeScript
/// <reference types="react" />
import { BasicComponentProps } from "../../types";
export interface CnLoadingProps extends BasicComponentProps {
/**
* 是否展示
*/
visible?: boolean;
/**
* 自定义内容
*/
tip?: React.ReactNode;
/**
* 自定义内容位置
*/
tipAlign?: 'right' | 'bottom';
/**
* 设置动画尺寸
*/
size?: 'large' | 'medium' | 'small';
/**
* 是否开启渐变
*/
isGradient?: boolean;
/**
* 是否反色,即展示为白色Loading
*/
inverse?: boolean;
/**
* 是否渲染子元素
*/
isRenderChilren?: boolean;
}