Skip to content

Commit

Permalink
add story
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hardman committed Nov 3, 2020
1 parent ea2cb2d commit 7fc830c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/FormElements/FormElements.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,19 @@ export const formSelect = () => (
/>
</Form>
);

export const formMulti = () => (
<Form onSubmitFn={noop} validationSchema={{}}>
<FormSelect
label="Inputs"
name="inputs"
defaultValue={null}
isMulti
options={[
{ label: "Input 1", value: "input_1" },
{ label: "Input 2", value: "input_2" },
{ label: "Input 3", value: "input_3" },
]}
/>
</Form>
);

0 comments on commit 7fc830c

Please sign in to comment.