From 2ab1b34af1b7ea185b6f97ba24dc2c035b895797 Mon Sep 17 00:00:00 2001 From: taranbeer Date: Fri, 19 May 2023 16:31:32 +0530 Subject: [PATCH] storybook updates --- src/components/forms/TextInput/TextInput.stories.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/forms/TextInput/TextInput.stories.tsx b/src/components/forms/TextInput/TextInput.stories.tsx index baf4f40..0fe53e0 100644 --- a/src/components/forms/TextInput/TextInput.stories.tsx +++ b/src/components/forms/TextInput/TextInput.stories.tsx @@ -1,5 +1,5 @@ import { CurrencyCircleDollar } from '@jengaicons/react'; -import { StoryFn } from '@storybook/react'; +import { Meta, StoryFn } from '@storybook/react'; import { ICON_ARG, @@ -23,13 +23,14 @@ export default { ...ICON_ARG, ...VALIDATION_STATE_ARG, }, -}; +} as Meta; const Template: StoryFn = ({ icon, ...props }) => ( : undefined} {...props} onChange={(query) => console.log('change', query)}