@perfma/heaven
Version:
An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.
20 lines (19 loc) • 605 B
TypeScript
import React from 'react';
import type { SimpleLoadingProp } from './simple';
import './index.less';
export interface LoadingProps {
time?: number;
loading?: boolean;
loop?: boolean;
}
declare class Loading extends React.PureComponent<LoadingProps & React.AnchorHTMLAttributes<HTMLElement>> {
static defaultProps: LoadingProps;
static Simple: React.FC<SimpleLoadingProp>;
path: SVGPathElement | null;
componentDidMount(): void;
componentDidUpdate(): void;
injectAnimation(): void;
render(): JSX.Element;
}
export type { SimpleLoadingProp };
export default Loading;