1.4.3 • Published 2 years ago

react-library-dropdown v1.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.5.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago