Skip to content

Commit 238b125

Browse files
author
ugogo
committed
update README.md
1 parent 36615b0 commit 238b125

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ export default function App() {
3737

3838
## API
3939

40-
| Key | Type | Default | Description |
41-
| ----------- | -------- | ------- | --------------------------------------------------------- |
42-
| length | `number` | `4` | How many items will be rendered |
43-
| placeholder | `string` | `·` | String rendered in each item when no value has been typed |
40+
| Key | Type | Default | Required | Description |
41+
| ----------- | ---------- | ------- | -------- | --------------------------------------------------------- |
42+
| length | `number` | `4` | false | How many items will be rendered |
43+
| onChange | `function` | | true | Function called when the value changes |
44+
| placeholder | `string` | `·` | false | String rendered in each item when no value has been typed |
4445

4546
## License
4647

0 commit comments

Comments
 (0)