JSPM

react-easy-tag-input

1.0.22
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q23505F
    • License MIT

    🏷️ Easy way to create tags inside an input element.

    Package Exports

    • react-easy-tag-input

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-easy-tag-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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}
            />
        );
        
    }
    
    export default App;

    Author

    Erik Martín Jordán

    License

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