Skip to content

Commit

Permalink
Add dpl-form wrapper to textarea story
Browse files Browse the repository at this point in the history
Since the styling depends on the outer dpl-form wrapper we need to
include it in the story
  • Loading branch information
spaceo committed Apr 19, 2024
1 parent d3c5954 commit 0dfd1b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stories/Library/Forms/textarea/Textarea.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export default {
} as ComponentMeta<typeof Textarea>;

const Template: ComponentStory<typeof Textarea> = (args) => (
<Textarea {...args} />
<div className="dpl-form">
<Textarea {...args} />
</div>
);

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

0 comments on commit 0dfd1b5

Please sign in to comment.