npm i react-multi-select-component#npmyarn add react-multi-select-component#yarn 📦Example importReact,{useState}from"react";import{MultiSelect}from"react-multi-select-component";constoptions=[{label:"Grapes 🍇",value:"grapes"},{label:"Mango 🥭",value:"mango"},{label:"Strawberry 🍓",va...
npm i react-filter-select -S Demo Demo link Look example Usage import React from 'react' import ReactDOM from 'react-dom' import MultiSelect from 'react-filter-select' class App extends React.Component { constructor(props){ super(props); } handleChange(checked){ console.log(checked) } rende...
npm install react-complex-tree yarn add react-complex-tree then import it and add your tree structure withimport { UncontrolledTreeEnvironment, Tree, StaticTreeDataProvider } from 'react-complex-tree'; <UncontrolledTreeEnvironment dataProvider={new StaticTreeDataProvider(longTree.items, (item, data) ...
You can install this package with the following command:npm i react-native-sectioned-multi-selectoryarn add react-native-sectioned-multi-select Icons The library uses icon names fromreact-native-vector-icons/MaterialIcons, however, it no longer imports thereact-native-vector-iconslibrary. You shou...
npm install react-complex-tree yarn add react-complex-tree then import it and add your tree structure with import{UncontrolledTreeEnvironment,Tree,StaticTreeDataProvider}from'react-complex-tree';<UncontrolledTreeEnvironmentdataProvider={newStaticTreeDataProvider(longTree.items,(item,data)=>({...item,data...