import React from 'react'
import toast from 'react-hot-toast'
import {
XIcon,
CheckCircleIcon,
ExclamationCircleIcon,
} from '@heroicons/react/outline'
export default function ToastContent({ toastData, icon, message }) {
let borderColor
let fancyIcon
if (toastData.type === 'success') {
borderColor = 'border-green-500'
fancyIcon =