1.4.3 • Published 8 months ago

react-library-dropdown v1.4.3

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

8 months ago

1.4.2

8 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.3

8 months ago

1.3.2

8 months ago

1.3.1

8 months ago

1.3.0

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago

0.5.0

8 months ago

0.2.0

8 months ago

0.1.0

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

9 months ago

0.0.1

9 months ago

0.0.0

9 months ago