import { AppIcon, StyleRecord, StyledProp } from '@codeleap/styles'; import { ImageProps } from '../Image'; import { EmptyPlaceholderComposition } from './styles'; import { ReactElement, ReactNode } from 'react'; import { AnyFunction } from '@codeleap/types'; import { ButtonProps } from '../Button'; export type EmptyPlaceholderProps = { itemName?: string; title?: string; description?: string; image?: ImageProps['source']; icon?: AppIcon; loading?: boolean; style?: StyledProp; LoadingComponent?: ReactElement; children?: ReactNode; onPress?: AnyFunction; buttonText?: string; order?: Array<'info' | 'illustration' | 'button'>; }; export type EmptyPlaceholderInfoProps = Pick; export type EmptyPlaceholderIllustrationProps = Pick; export type EmptyPlaceholderButtonProps = Pick & Omit; export type EmptyPlaceholderCtxValue = Omit & { styles: StyleRecord; }; //# sourceMappingURL=types.d.ts.map