From 8271d2e583f76dd01583ede21efa76bf900c7585 Mon Sep 17 00:00:00 2001 From: Ruggero Cino Date: Thu, 28 Sep 2023 12:30:13 +0200 Subject: [PATCH] Update preview.tsx --- .storybook/preview.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 00c936add..92de253b6 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -16,7 +16,11 @@ const preview: Preview = { }, decorators: [ (Story) => ( - + + typeof elementToBeRendered === 'string' ? isPropValid(propName) : true + } + >