Merge pull request #4855 from matrix-org/t3chguy/download_toast

Add Generic Expiring Toast and timing hooks
This commit is contained in:
Michael Telatynski
2020-06-30 17:02:04 +01:00
committed by GitHub
4 changed files with 122 additions and 2 deletions
+1 -1
View File
@@ -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
}
/**