Reputation: 51
I'm using react-native-sectioned-multi-select in react native. But, I couldn't do any style to that. Can anyone help me to customize and do styling for this one?
https://www.npmjs.com/package/react-native-sectioned-multi-select?activeTab=readme
https://reactnativeexample.com/simple-multi-select-component-for-react-native/
Upvotes: 1
Views: 3103
Reputation: 865
styles={{
// chipText: {
// maxWidth: Dimensions.get('screen').width - 90,
// },
// itemText: {
// color: this.state.selectedItems.length ? 'black' : 'lightgrey'
// },
selectedItemText: {
color: 'blue',
},
// subItemText: {
// color: this.state.selectedItems.length ? 'black' : 'lightgrey'
// },
selectedSubItemText: {
color: 'blue',
},
}}
container
modalWrapper
backdrop
listContainer
selectToggle
selectToggleText
item
selectedItem
subItem
itemText selectedItemText
selectedSubItemText selectedSubItem subItemText
searchBar
center
separator
subSeparator
chipsWrapper
chipContainer parentChipContainer parentChipText chipText
chipIcon
searchTextInput
scrollView
button
confirmText
cancelButton
itemIconStyle
Upvotes: 5