--- import { Icon } from 'astro-icon' export type CalloutType = 'check' | 'error' | 'note' | 'warning' interface Props { title: string type: CalloutType } const ICON_MAP: Record = { 'check': 'check-circle', 'error': 'close-circle', 'note': 'note', 'warning': 'warning-circle' } const COLOR_MAP: Record = { 'check': 'text-green-700', 'error': 'text-red-700', 'note': ' text-gray-700', 'warning': 'text-orange-700' } const { title, type = 'note' } = Astro.props ---

{title}