UNPKG

@useloops/design-system

Version:

The official React based Loops design system

29 lines (26 loc) 944 B
import { SvgIconProps, SxProps, Theme } from '@mui/material'; import { FunctionComponent } from 'react'; import { IconName } from '../../../BrandCore/Icon.js'; import { ButtonProps } from '../../WebCore/Button/Button.js'; import { TypographyProps } from '../../WebCore/Typography/Typography.js'; import { SurfaceProps } from '../../WebCore/Surface/Surface.js'; type EmptyStateCardProps = { onClickCta?: () => void; title?: string; body?: string; ctaText?: string; iconName?: IconName; hideCta?: boolean; hideIcon?: boolean; slotProps?: { surface?: Partial<SurfaceProps>; button?: Partial<ButtonProps>; title?: Partial<TypographyProps>; body?: Partial<TypographyProps>; icon?: SvgIconProps; }; sx?: SxProps<Theme>; }; declare const EmptyStateCard: FunctionComponent<EmptyStateCardProps>; export { EmptyStateCard as default }; export type { EmptyStateCardProps };