📄️ LocalToastProvider
Props of LocalToastProvider
📄️ LocalToastTarget
All props are required.
📄️ useLocalToast
Calling this hook will return an object with bunch of functions in it. Let's take a closer look on each. Here and farther name refers to local toast target name and id to toast id.
📄️ Custom Toast component
This is list of props your custom toast component will receive:
📄️ useCustomLocalToast
This function accepts your ToastComponent and creates context and all neccessary pieces to make your custom implementation work under hood. It returns: