New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@legion-lib/react-multiselect

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@legion-lib/react-multiselect

React MultiSelect Component

latest
npmnpm
Version
2.1.6
Version published
Maintainers
0
Created
Source

react multiselect

React 16

Supported languages: en-US (default), zh-TW, zh-CN, zh-Hans

Install

npm i @9legionlib/react-multiselect

Screenshot

Usage

import React, { Component } from 'react'
import ReactDOM from 'react-dom'

import MultipleSelect from '@9legionlib/react-multiselect'

export default class App extends Component {
    constructor(props) {
        super(props);
        this.data = [];

        for(let i = 1; i < 100; i++){
            this.data.push({
                Id: i,
                Name: "Item " + i,
                Checked: true
            });
        }
    }

    render() {
        return (
            <div>
                <h1>Multi Select</h1>
                <div style={{width: "400px"}}>
                    <MultipleSelect
                        id="SelectList"
                        language='en-US'
                        dataSource={this.data}
                        keyField="Id"
                        valueField="Name"
                        statusField="Checked"
                        hasSearchBox={true} />
                </div>
            </div>
        );
    }
}

ReactDOM.render(<App />, document.getElementById("app"));

License

MIT

Keywords

react-multiselect

FAQs

Package last updated on 29 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts