react-native-dropdown-picker
react-native-dropdown-picker copied to clipboard
Is it possible to have a custom selected ListItem?
I am using the renderListItem as follows:
renderListItem={(props) => (
<ListItem
setDropdownValue={setDropdownValue}
props={props}
data={data}
setOpen={setOpen}
/>
)}
It works well for the list itself but for a selected item, it just displays the string.
Is it possible to have a customSelectedListItem which is similar to the ListItem component?
same question!