Skip to content

Commit ae346ef

Browse files
♻️ cleanup
1 parent 4bb742f commit ae346ef

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ export default Example;
5353

5454
## 👀 Props
5555

56-
| Prop | Description | Type | Default |
57-
| ------------- | ------------------------------------- | ----------------------- | ----------- |
58-
| `name` | value for name of input | `string` | |
59-
| `placeholder` | placeholder for text input | `string` | |
60-
| `value` | initial tags | `string[]` | `[]` |
61-
| `onChange` | onChange callback (added/removed) | `string[]` | |
62-
| `onBlur` | input `onBlur` callback | `event` | |
63-
| `seprators` | when to add tag (i.e. `Space`, `,`, `Enter`) | `string[]` | `["Enter"]` |
64-
| `onExisting` | if tag is already added then callback | `(tag: string) => void` | |
65-
| `onRemoved` | on tag removed callback | `(tag: string) => void` | |
56+
| Prop | Description | Type | Default |
57+
| ------------- | -------------------------------------------- | ----------------------- | ----------- |
58+
| `name` | value for name of input | `string` | |
59+
| `placeholder` | placeholder for text input | `string` | |
60+
| `value` | initial tags | `string[]` | `[]` |
61+
| `onChange` | onChange callback (added/removed) | `string[]` | |
62+
| `onBlur` | input `onBlur` callback | `event` | |
63+
| `seprators` | when to add tag (i.e. `Space`, `,`, `Enter`) | `string[]` | `["Enter"]` |
64+
| `onExisting` | if tag is already added then callback | `(tag: string) => void` | |
65+
| `onRemoved` | on tag removed callback | `(tag: string) => void` | |
6666

6767
## 💅 Themeing
6868

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-tag-input-component",
33
"description": "lightweight component for tag(s) input",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"license": "MIT",
66
"author": "Harsh Zalavadiya",
77
"module": "dist/react-tag-input-component.esm.js",

0 commit comments

Comments
 (0)