@quanxi/ui
Version:
全悉组件库
17 lines (16 loc) • 436 B
TypeScript
import React, { CSSProperties } from 'react';
export interface LoadingRef {
handleOpen: (flag: boolean) => void;
}
export type LoadingProps = {
style?: CSSProperties;
className?: string;
text?: string;
background?: string;
open: boolean;
icon?: string;
target?: string;
duration?: number;
cRef: React.RefObject<LoadingRef>;
};
export default function LoadingEl(props: LoadingProps): JSX.Element;