Awesome multiselect-picker
npm install @paraboly/react-native-multiselect-picker
Add the dependency:
``ruby`
npm i @paraboly/react-native-multiselect-picker
###### IMPORTANT! You need install them
`js`
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"lodash": ">= 4.17.15",
"react-native-bouncy-checkbox": ">= 0.0.5",
"react-native-vector-icons": ">= 6.6.0",
"react-native-dynamic-vector-icons": ">= 0.2.1"
`js`
import MultiselectPicker from "@paraboly/react-native-multiselect-picker";
`js`
onChange={checked => {
console.log(checked);
}}
/>
`js``
const data = [
{
id: 0,
label: "Fred",
value: "Fred Çakmaktaş"
},
{
id: 1,
label: "Vilma",
value: "Vilma Çakmaktaş"
},
{
id: 2,
label: "Barni",
value: "Barni Moloztaş"
},
{
id: 3,
label: "Beti",
value: "Beti Moloztaş"
}
];
| Property | Type | Default | Description |
| -------- | :------: | :-------: | ------------------------------------------------------------------------------------ |
| onChange | function | undefined | you can make your business logic or get the selection of the data from this function |
- [x] ~~LICENSE~~
- [ ] Write an article about the lib on Medium
Change log will be here !
FreakyCoder, kurayogun@gmail.com
React Native Library Boilerplate is available under the MIT license. See the LICENSE file for more info.