From af4610d138bc32424b41670faf0c46873926a9ab Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Mon, 16 Mar 2026 09:52:45 +0000 Subject: [PATCH] Fix types Signed-off-by: Charles de Dreuille --- packages/ui/src/components/ListBox/ListBox.stories.tsx | 2 +- packages/ui/src/recipes/CardsWithListBox.stories.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/ListBox/ListBox.stories.tsx b/packages/ui/src/components/ListBox/ListBox.stories.tsx index 2ad1429272..073a0073e7 100644 --- a/packages/ui/src/components/ListBox/ListBox.stories.tsx +++ b/packages/ui/src/components/ListBox/ListBox.stories.tsx @@ -84,7 +84,7 @@ const itemsWithDescription = [ }, ]; -const itemIcons: Record = { +const itemIcons: Record = { react: , typescript: , javascript: , diff --git a/packages/ui/src/recipes/CardsWithListBox.stories.tsx b/packages/ui/src/recipes/CardsWithListBox.stories.tsx index 316159211a..3a41dfb346 100644 --- a/packages/ui/src/recipes/CardsWithListBox.stories.tsx +++ b/packages/ui/src/recipes/CardsWithListBox.stories.tsx @@ -54,7 +54,7 @@ interface ServiceItem { id: string; label: string; description: string; - icon: React.ReactNode; + icon: React.ReactElement; tags: string[]; }