forked from cerc-io/snowballtools-base
[12/n][Storybook] OverflownText update argTypes
This commit is contained in:
parent
a95f18a66b
commit
c710fb5a53
@ -13,6 +13,9 @@ const meta: Meta<typeof OverflownText> = {
|
||||
children: {
|
||||
control: 'text',
|
||||
},
|
||||
tooltipProps: {
|
||||
control: 'object',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -21,8 +24,10 @@ export default meta;
|
||||
type Story = StoryObj<typeof OverflownText>;
|
||||
|
||||
export const Default: Story = {
|
||||
render: ({ children, content }) => (
|
||||
<OverflownText content={content}>{children}</OverflownText>
|
||||
render: ({ children, content, ...args }) => (
|
||||
<OverflownText content={content} {...args}>
|
||||
{children}
|
||||
</OverflownText>
|
||||
),
|
||||
args: {
|
||||
children:
|
||||
|
Loading…
Reference in New Issue
Block a user