├── README.md ├── src ├── utils │ ├── selectors.tsx │ └── functions.tsx ├── components │ ├── Tag.tsx │ └── ContentEditable.tsx ├── styles │ └── index.scss └── index.tsx ├── example ├── index.html └── index.tsx ├── tslint.json ├── LICENSE.txt ├── tsconfig.json ├── package.json ├── .npmignore └── .gitignore /README.md: -------------------------------------------------------------------------------- 1 | # React Tag Input 2 | 3 | React Tag Input is a robust, minimal and performant input field for creating multiple tags. 4 | 5 | [See demo & documentation](https://betterstack.dev/projects/react-tag-input) 6 | -------------------------------------------------------------------------------- /src/utils/selectors.tsx: -------------------------------------------------------------------------------- 1 | 2 | export const classSelectors = { 3 | wrapper: "react-tag-input", 4 | input: "react-tag-input__input", 5 | tag: "react-tag-input__tag", 6 | tagContent: "react-tag-input__tag__content", 7 | tagRemove: "react-tag-input__tag__remove", 8 | tagRemoveReadOnly: "react-tag-input__tag__remove-readonly", 9 | }; 10 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |