import ReactHotToast, { Toast } from "react-hot-toast" import clsxm from "./clsxm" import { ReactNode } from "react" import { XIcon } from "lucide-react" type Options = Partial> | undefined const toast = (children: ReactNode, options: Options = undefined) => { return ReactHotToast.custom((t) => (
{children}
), options) } export default toast