Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/components/Text/Text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,21 @@ type Story = StoryObj<typeof meta>;

export const Default: Story = {
args: {
children: 'This is a paragraph of text.',
children:
'This is a paragraph of text that demonstrates how the Text component works with different options including truncation.',
variant: 'default',
size: 'base',
weight: 'normal',
align: 'left',
truncate: false,
},
decorators: [
(Story) => (
<div style={{ width: '300px' }}>
<Story />
</div>
),
],
};

export const AllVariants: Story = {
Expand Down
Loading