Skip to content

Commit

Permalink
Make ids in stories unique
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Mar 15, 2022
1 parent e53fca1 commit 1e3f194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/base-control/stories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ export const Default: ComponentStory<
> = BaseControlWithTextarea.bind( {} );
Default.args = {
__nextHasNoMarginBottom: true,
id: 'textarea-1',
id: 'textarea-default-1',
label: 'Label text',
};

export const WithHelpText = BaseControlWithTextarea.bind( {} );
WithHelpText.args = {
...Default.args,
id: 'textarea-with-help-text-1',
help: 'Help text adds more explanation.',
};

Expand Down

0 comments on commit 1e3f194

Please sign in to comment.