import toast from 'react-hot-toast'
import { XIcon } from 'lucide-react'
import { twMerge } from 'tailwind-merge'
type Props = {
title?: string
description?: string
type?: 'default' | 'error' | 'success' | 'warning'
}
const ErrorIcon = () => {
return (
)
}
const WarningIcon = () => {
return (
)
}
const SuccessIcon = () => {
return (
)
}
const DefaultIcon = () => {
return (
)
}
const renderIcon = (type: string) => {
switch (type) {
case 'warning':
return
{description}
{description}