React Strawberry Toast

A simple and customizable React toast library

npm i react-strawberry-toast
import { ToastContainer, toast } from 'react-strawberry-toast';
import 'react-strawberry-toast/dist/style.css';
  
function App() {
  const click = () => {
    toast('hello strawberry toast');
  };
      
  return (
    <>
      <ToastContainer />
      <button type='button' onClick={click}>click</button>
    </>
  );
}

Example

gap

  <ToastContainer reverse={false} gap={9} />  
              


      toast.success('success');