Merge pull request #4855 from matrix-org/t3chguy/download_toast
Add Generic Expiring Toast and timing hooks
This commit is contained in:
commit
f269aefe18
4 changed files with 122 additions and 2 deletions
|
@ -24,7 +24,7 @@ export interface IToast<C extends keyof JSX.IntrinsicElements | JSXElementConstr
|
|||
title: string;
|
||||
icon?: string;
|
||||
component: C;
|
||||
props?: React.ComponentProps<C>;
|
||||
props?: Omit<React.ComponentProps<C>, "toastKey">; // toastKey is injected by ToastContainer
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue