select-component-oc
v1.4.0
Published
React componant for select options easiest
Downloads
17
Readme
Select Componant
Select Componant is a helpfull componant for create select inputs with options
1. Prerequisites
2. Technologies
- JS
- HTML
- CSS
3.Author
Guillaume Gernigon
4. Licensing
This project was built under the Creative Commons licence.
5 How to use Select Componant ?
- install componant with
npm i select-componant-oc
. - import Select componant in your project
- paste options list in your select componant.
5 How to use props of Select Componant ?
- name (string): name of the select
- options (Array of objects with name and id's properties): array of options
- onChange (Function): Event function when an option is selected
- style (Css properties): css properties for change style
- className (string): change element class