@coko/client
Version:
Client side common code for coko apps
17 lines (16 loc) • 551 B
TypeScript
/**
* Spinner code license here (MIT): https://github.com/tobiasahlin/SpinKit/blob/master/LICENSE
*/
import React, { ComponentProps } from 'react';
import { Spin as AntSpin } from 'antd';
type IndicatorProps = {
size?: number;
className?: string;
};
type SpinProps = Omit<ComponentProps<typeof AntSpin>, 'size'> & {
size?: number;
renderBackground?: boolean;
};
export declare const Indicator: ({ size, className, }: IndicatorProps) => React.ReactNode;
declare const Spin: (props: SpinProps) => React.ReactNode;
export default Spin;