UNPKG

404 BTypeScriptView Raw
1import type { ReactNode } from 'react';
2import { ErrorBlock } from './error-block';
3export { createErrorBlock } from './create-error-block';
4export type { ErrorBlockProps } from './create-error-block';
5export declare type ErrorBlockStatus = 'default' | 'disconnected' | 'empty' | 'busy';
6export declare type ImageRecord = Partial<Record<ErrorBlockStatus, string | ReactNode>>;
7export default ErrorBlock;