UNPKG

@payfit/unity-components

Version:

29 lines (28 loc) 1.09 kB
import { ComponentPropsWithoutRef } from 'react'; import { EmptyState } from '../EmptyState.js'; export interface EmptyStateUseDesktopProps extends Omit<ComponentPropsWithoutRef<typeof EmptyState>, 'children'> { /** * Custom title text. If not provided, uses the default i18n message. */ title?: string; /** * Description text explaining why desktop is recommended. * Defaults to placeholder text if not provided. */ description?: string; } /** * EmptyStateUseDesktop is a preset for recommending the desktop experience. * It displays a devices icon and does not include any actions by default. * @param {EmptyStateUseDesktopProps} props - The component props * @example * ```tsx * import { EmptyStateUseDesktop } from '@payfit/unity-components' * * <EmptyStateUseDesktop * description="This feature works best on larger screens." * /> * ``` */ declare const EmptyStateUseDesktop: import('react').ForwardRefExoticComponent<EmptyStateUseDesktopProps & import('react').RefAttributes<HTMLDivElement>>; export { EmptyStateUseDesktop };