Simplifie toast handling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
1d629f2557
commit
40947a2a68
4 changed files with 24 additions and 29 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue