Select dropdown is major usage in all the project. In react we focusing for re using of componenets. In this package we are re-using the select option dropdown.
npm i react-custom-select-option
import { CustomSelector } from 'react-custom-select-option'
After installtion of this package we need to use it in project. Code sample is below for how to using this.
Import it then compose that component and pass the options as array in option props and pass className in className props.
<CustomSelector name = {yourCustomName} option = {yourArray} className = {customClassName} id = {yourCustomId} />
Happy Hacking :)