import { IconCircleCheck, IconFaceIdError, IconInfoCircle, IconX, } from '@tabler/icons-solidjs' import { Show } from 'solid-js' import { Dynamic } from 'solid-js/web' const STATUS = Object.freeze( new Proxy( { success: { icon: IconCircleCheck, color: 'text-green-500', }, error: { icon: IconFaceIdError, color: 'text-red-500', }, info: { icon: IconInfoCircle, color: 'text-blue-500', }, }, { get: (target, prop) => target[prop] ?? { icon: IconInfoCircle, color: 'text-blue-500' }, }, ), ) export default function Notify(props) { return (

{props.title}

{props.description}

) }