Simplifie toast handling

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-26 12:21:58 +02:00
parent 1d629f2557
commit 40947a2a68
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
4 changed files with 24 additions and 29 deletions

View file

@ -26,8 +26,8 @@ export interface IToast<C extends ComponentClass> {
icon?: string;
component: C;
className?: string;
bodyClassName?: string;
props?: Omit<React.ComponentProps<C>, "toastKey">; // toastKey is injected by ToastContainer
supplyWholeBody?: boolean;
}
/**