import React, { useEffect } from "react";
import ReactDOM from "react-dom";
import Toast from "./";
import toastr from "./toastr";
import Button from "../button";
import Link from "../link";
const BaseTemplate = ({ type, data, title, timeout, withCross, ...args }) => {
return (
<>