Select Componant is a helpfull componant for create select inputs with options
- JS
- HTML
- CSS
Guillaume Gernigon
This project was built under the Creative Commons licence.
- install componant with
npm i select-componant-oc
. - import Select componant in your project
- paste options list in your 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