1.4.3 • Published 3 years ago

react-library-dropdown v1.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Installation

npm i react-library-dropdown or npm install react-library-dropdown

Actual version : 1.4.3

NPM version : 9.8.1

React version : 18.2.0

Made with VS Code.

Web site

https://github.com/deborah-bude/react-library-dropdown

Usage

Import in JSX file:

import { Dropdown } from "react-library-dropdown"

How use ?

Options parameters

Options required

const options = [
    {
        "name" : "Item content 1"
        "abbreviation" : "IC1"
    }, 
    {
        "name" : "Item content 2"
        "abbreviation" : "IC2"
    }, 
    {
        "name" : "Item content 3"
        "abbreviation" : "IC3"
    }, ]
    
const title = "My dropdown menu"

return <Dropdown title={title} options={options}></Dropdown>

Search option

Default value : false

return <Dropdown title={title} options={options} serach={true}></Dropdown>
1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.5.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago