1.0.0 • Published 2 years ago

my-dropdown-lib v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

my-dropdown-lib

A simple React library created using create-react-app.

It allows you to create a custom selectable component with 3 props

Installation

Run the following command: npm install my-dropdown-lib

Controllable Props

Prop nameDescription
optionsarray The list of options
defaultOptionstring The message seen in the header by default
onChangefunction Gets the value of the clicked option in params

Demo

Code

example1

Device

example2 example3

1.0.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago