From 6bc887c95b39dfe96a7d3683addfa3b8f38b3909 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 28 Jan 2023 21:29:22 -0800 Subject: [PATCH] Add altText prop to Toast We changed things so we could insert React elements into the content field. --- components/Header/index.tsx | 2 ++ components/Toast/index.tsx | 4 +++- components/UpdateToast/index.tsx | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 66b527c2..7b7c4985 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -225,6 +225,7 @@ const Header = () => { const urlCopyToast = () => { return ( { const remixToast = () => { return ( {content}

{children && ( - + {children} )} diff --git a/components/UpdateToast/index.tsx b/components/UpdateToast/index.tsx index 51b6d009..d827abf0 100644 --- a/components/UpdateToast/index.tsx +++ b/components/UpdateToast/index.tsx @@ -54,6 +54,7 @@ const UpdateToast = ({ return (