Skip to content

Commit

Permalink
Add TextInput multiline story
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jul 27, 2024
1 parent b733e64 commit 02b8068
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ra-ui-materialui/src/input/TextInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ export const Margin = () => (
</Wrapper>
);

export const Multiline = () => (
<Wrapper>
<TextInput source="title" multiline minRows={3} />
</Wrapper>
);

export const Variant = () => (
<Wrapper>
<TextInput source="title" label="default (filled)" />
Expand Down

0 comments on commit 02b8068

Please sign in to comment.