react-custom-select-option
TypeScript icon, indicating that this package has built-in type declarations

0.1.16 • Public • Published

React custom select option

What is the purpose

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.

Install by cmd

npm i react-custom-select-option

How to import

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.

How to use

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 :)

/react-custom-select-option/

    Package Sidebar

    Install

    npm i react-custom-select-option

    Weekly Downloads

    27

    Version

    0.1.16

    License

    MIT

    Unpacked Size

    11.9 kB

    Total Files

    14

    Last publish

    Collaborators

    • sivakumarsrinivasan