Skip to content

Commit

Permalink
feat(Text): fix default story
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaevAlexandr committed May 2, 2022
1 parent 70f538b commit f0abf42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Text/__stories__/Text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const DefaultText: Story<TextProps> = (args) => <Text {...args} />;

export const Default = DefaultText.bind({});

const EllipsisDefault = DefaultText.bind({});
Default.args = {
children: 'some text',
};

const EllipsisDefault: Story<TextProps> = (args) => <Text {...args} />;

export const Ellipsis = EllipsisDefault.bind({});

Expand Down

0 comments on commit f0abf42

Please sign in to comment.