Skip to content

Commit 8c6fe4a

Browse files
committed
docs(TextInput): Improve docs
1 parent 8462916 commit 8c6fe4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/TextInput/TextInput.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import TextInput from '@jackdomleo7/vue3-library/components/TextInput/TextInput.
1010
```
1111

1212
<Story of={TextInputStories.TypeText} />
13+
<br/>
1314

1415
## `v-model`
1516

@@ -161,7 +162,7 @@ Any non-prop attributes and any event listeners will fallthrough to the `<input/
161162
#### Minlength
162163

163164
```html
164-
<TextInput minlength />
165+
<TextInput minlength="5" />
165166
```
166167

167168
<Story of={TextInputStories.Minlength} />
@@ -170,7 +171,7 @@ Any non-prop attributes and any event listeners will fallthrough to the `<input/
170171
#### Maxlength
171172

172173
```html
173-
<TextInput maxlength />
174+
<TextInput maxlength="5" />
174175
```
175176

176177
<Story of={TextInputStories.Maxlength} />

0 commit comments

Comments
 (0)