customreactselect_by_kabeer
v0.3.3
Published
<div id="top"></div>
Downloads
6
Readme
react-JS-shared-components
Build components without repetition.
CustomReactSelect
System Requirements
- Node and yarn installed
- MacOS, Windows and Linux are supported
Usage
CustomReactSelect
- Load the module in your component
import
Install the required dependencies:
npm i clsx
npm i react-select
npm i react-icons/io
Configurable/Required props for CustomReactSelect when navigating:
| Prop | Type | Description |
|--------------------------------|------------|---|
| label
| string | Its the label of your Component in CustomReactSelect Component
| placeholder
| string | placeholder is a character, word, or string of characters that temporarily takes the place of the final data
| selectedValue *
| Array | it is the State Variable
| onSelectedValue *
| Array | is a State that takes a new value to update the state variable.
| disabled
| boolean | disabled props will totally disable your touchable
| options
| Array | List of the items that you want to render
| formatOptionLabel
| function | Formats option labels in the menu and control as React components
| isSearchable
| boolean | Whether to enable search functionality
| isClearable
| boolean | Is the select value clearable
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you find a bug or would like to request a new feature, just open an issue. Your contributions are always welcome!
License
Distributed under the ISC License.
Contact
Kabeer Haseja [email protected]
Project Link: still not