我在react native中使用react-native-sectioned-multi-select。但是,我对此无能为力。谁能帮助我为此定制和样式化?
https://www.npmjs.com/package/react-native-sectioned-multi-select?activeTab=readme
https://reactnativeexample.com/simple-multi-select-component-for-react-native/
答案 0 :(得分:0)
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