From 55b2d250bc87c1f416048bf0d249004bd2a542ee Mon Sep 17 00:00:00 2001 From: Luke Walczak Date: Thu, 13 Oct 2022 16:00:55 +0200 Subject: [PATCH] fix: correct Banner children type (#3401) --- src/components/Banner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 1fefd2a3b0..90b4361da6 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -18,7 +18,7 @@ export type Props = $RemoveChildren & { /** * Content that will be displayed inside banner. */ - children: string; + children: React.ReactNode; /** * Icon to display for the `Banner`. Can be an image. */