1.0.4 • Published 4 years ago

react-easy-tag-input v1.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

react-easy-tag-input

react-easy-tag-input version react-easy-tag-input license

Easy way to create tags inside an input element.

Installation

npm i --save react-easy-tag-input

Example

react-easy-tag-input

How to use

import React, { useState } from 'react';
import TagInput            from 'react-easy-tag-input';

const App = () => {
    
    const [tags, setTags] = useState(['React', 'JavaScript', 'Firebase']);
    
    return(
        <TagInput
            limit   = {5}
            tags    = {tags}
            setTags = {setTags}
            hint    = {'Separate tags by a comma (,)'}
        />
    );
    
}

export default App;

Author

Erik Martín Jordán

License

This component is open source and available under the MIT License.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago