'use client'
import { useState, useCallback } from 'react'
type ToastType = 'success' | 'error' | 'warning' | 'info'
interface Toast {
id: number
type: ToastType
title: string
message?: string
}
const CONFIGS = {
success: { icon: '✓', color: '#22c55e', bg: 'rgba(34,197,94,0.1)', border: 'rgba(34,197,94,0.2)' },
error: { icon: '✕', coToastStack