Skip to content

five-on-it / apps/client/src/ui/kit/Toast

apps/client/src/ui/kit/Toast ​

The kit's snackbars: a short word that something was done (saved, deleted), at the foot of the page for a few seconds, read out politely (aria-live), one after the other. ToastProvider holds them for the game pages; useToast says one. Each is a .kit-toast with its tone (data-tone): the end-to-end tests read them.

Type Aliases ​

Functions ​