import { ExclamationCircleIcon, ExclamationTriangleIcon, InformationCircleIcon, } from '@heroicons/react/20/solid' import { cn } from '@/utils/cn' export function Callout({ type = 'info', children, }: { type?: 'info' | 'warning' | 'critical' | 'quote' children: React.ReactNode }) { return (
{type === 'info' && } {type === 'warning' && ( )} {type === 'critical' && ( )}
{children}
) }