RN Multiselect
Multiselect component for react native
Install
npm i rn-multiselect
Usage
<MultiSelect = = = ="Submit" ="Click here to choose" =/>
Props
- data (required): Options, expect an array of objects with key and label
- selectedOptions: Selected options, expect an array of selected options's keys
- onChange: Function that is called when a option is selected, returns selected options
- modalFooterText: Text displayed on modal's footer
- placeholder: Text displayed when there is no tag selected
- displayOptionsLimit: Limit of selected options displayed, default is 2.