import type { ReactNode } from 'react'; import type { LucideIcon } from 'lucide-react'; import { IconTile } from '~/components/ui/icon-tile'; import { Text } from '~/components/ui/text'; export interface IconMessageProps { icon?: LucideIcon; title: string; message?: string; action?: ReactNode; size?: 'md' | 'lg'; } export function IconMessage({ icon, title, message, action, size = 'md' }: IconMessageProps) { const large = size === 'lg'; return (
{icon && } {title} {message && {message}} {action &&
{action}
}
); }