Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
Storybook story
Browse files Browse the repository at this point in the history
  • Loading branch information
francocorreasosa committed Jan 28, 2020
1 parent aadbb54 commit 7e90a1d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/components/molecules/form/field/stories/field.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ storiesOf("Form", module).add("form field + help text", () => (
</Example>
));

storiesOf("Form", module).add("form field + required prop", () => (
<Example title="form field + required prop">
<Form.Field label="Callback URL" required>
<TextInput type="text" placeholder="Enter something" />
</Form.Field>
</Example>
));

storiesOf("Form", module).add("form field + rich help text", () => (
<Example title="form field + rich help text">
<Form.Field
Expand Down

0 comments on commit 7e90a1d

Please sign in to comment.