jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
9 lines (8 loc) • 310 B
TypeScript
import React from 'react';
import type { SpinnerProps } from './types';
export interface SpinnerRef {
show: (tip?: string, closeAfter?: number) => void;
close: () => void;
}
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<SpinnerRef>>;
export default Spinner;