import type * as React from 'react'; import type { AppRootPortalProps } from '../AppRoot/AppRootPortal'; import type { SpinnerProps } from '../Spinner/Spinner'; export type ScreenSpinnerProps = Omit & Pick & { /** * Тип отображения спиннера. */ state?: 'loading' | 'cancelable' | 'done' | 'error' | 'custom' | undefined; /** * Кастомная иконка, работает совместно со `state="custom"`. */ customIcon?: React.ReactNode | undefined; /** * Внешний вид отображения спиннера. */ mode?: 'shadow' | 'overlay' | undefined; /** * Текст под иконкой. */ label?: React.ReactNode | undefined; /** * Используется при `state='cancelable'`. Делает доступным для ассистивных технологий. */ cancelLabel?: string | undefined; }; //# sourceMappingURL=types.d.ts.map