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

multreeselect

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multreeselect

> This project is created to simplify the process of publishing a React component to npm. For a full tutorial on publishing React component to npm, please refer to [this guide](https://medium.com/groftware/how-to-publish-your-react-component-on-npm-9cf48d

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

This project is created to use Dropdown Tree select in React. Powered by nitpedia (www.nitpedia.in)

Guide

  • How to Use ? Here we go:
  • let sampleOptions=[ { title: 'region 1', value: 1, key: 1, children: [ { title: 'store 1', value: 212, key: 212, }, ], }, { title: 'region 2', value: 2, key: 2, children: [ { title: 'store 2', value: 215, key: 215, }, { title: 'store 3', value: 216, key: 216, }, { title: 'store 4', value: 217, key: 217, }, ], }, ]
  •  <MultreeSelect
        options={sampleOptions}
         onChange={this.getVal}
         getChildValue={true}
         placeholder={'select'}
         width={'25%'}
         showSearch={true}
         size={'small'}
         />
    
  • size accepts either 'small' i.e 30px or 'large' i.e 36px.
  • If getChildValue = {false} then value of parent and child nodes both will be returned.

Keywords

select

FAQs

Package last updated on 21 Jul 2020

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