From c710fb5a530abe0937fb37df604894c657987ae4 Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Tue, 14 May 2024 16:08:04 -0400 Subject: [PATCH] [12/n][Storybook] OverflownText update argTypes --- .../src/stories/Components/OverflownText.stories.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/stories/Components/OverflownText.stories.tsx b/packages/frontend/src/stories/Components/OverflownText.stories.tsx index 63a31639..6f8822d8 100644 --- a/packages/frontend/src/stories/Components/OverflownText.stories.tsx +++ b/packages/frontend/src/stories/Components/OverflownText.stories.tsx @@ -13,6 +13,9 @@ const meta: Meta = { children: { control: 'text', }, + tooltipProps: { + control: 'object', + }, }, }; @@ -21,8 +24,10 @@ export default meta; type Story = StoryObj; export const Default: Story = { - render: ({ children, content }) => ( - {children} + render: ({ children, content, ...args }) => ( + + {children} + ), args: { children: