dojando-react-dropdown-jquery

0.7.3 • Public • Published

This is a fully React Dropdown component based on the jQuery Dropdown.

Install

Install using npm install dojando-react-dropdown-jquery

Usage

In a React app, use the Button component: import { Dropdown } from 'dojando-react-dropdown-jquery'

Dropdown props

Name : data (required)
Description : (string array) Its the list of options of the dropdown.

Name : getValue (required)
Description : (function) the function passed to this prop will receive as parameter the selected value of the dropdown.

Name : name
Description : (string) the name of the dropdown.

Name : labelId
Description : (string) the id of the dropdown that can be linked to a label.

The options are sorted in alphabetical order

Package Sidebar

Install

npm i dojando-react-dropdown-jquery

Weekly Downloads

2

Version

0.7.3

License

none

Unpacked Size

5.16 kB

Total Files

5

Last publish

Collaborators

  • dojando