@oceanbase/design
Version:
The Design System of OceanBase
13 lines (12 loc) • 508 B
TypeScript
import type { SpinProps as AntSpinProps } from 'antd/es/spin';
import React from 'react';
export * from 'antd/es/spin';
export interface SpinProps extends AntSpinProps {
gray?: boolean;
}
declare const Spin: {
({ prefixCls: customizePrefixCls, className, indicator: customizeIndicator, gray, ...restProps }: SpinProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
setDefaultIndicator: (indicator: React.ReactNode) => void;
displayName: string;
};
export default Spin;