import './advanced-spinner.styles.scss'; import { FC } from 'react'; import { SpinProps } from '../ant-design/spinner'; /** * AdvancedSpinnerProps * * @memberof AdvancedSpinner */ interface AdvancedSpinnerProps { /** * Ant design spinner props */ showSpinner: boolean; /** * Ant design spinner props */ SpinProps?: SpinProps; /** * Should the loader cover entire screen or just child component. * * Default: false */ coverPage?: boolean; /** * Set a maximum timer for spinner to spin in milliseconds * * Default: unlimited time */ spinTimeDuration?: number; /** * Callback if the spinTimeDuration ran out and the spinner was turned off */ callbackOnSpinnerTimeout?: () => void; } /** * Custom spinner that allows you to set a timeout and a cover full page */ export declare const AdvancedSpinner: FC; export {};