React toast. An implementation with the Context API and hooks

How to add Gmail toasts to our React application using hooks and the Context API