I know about lazy loading a component like:
import React, { lazy } from "react";
const Search = lazy(() => import('./components/search/Search'));
I was wondering how to handle imports like this with lazy?
import { ToastContainer, toast } from 'react-toastify';