Open Vasault opened 4 years ago
Hi @Vasault, can you please create this issue in the up-to-date fork of this package here: https://github.com/siemiatj/react-native-modal-dropdown/issues?
Hi @Vasault, can you please create this issue in the up-to-date fork of this package here: https://github.com/siemiatj/react-native-modal-dropdown/issues?
will that be the main fork?
Yes, we try that, as discussed here: https://github.com/sohobloo/react-native-modal-dropdown/issues/251 Currently I have problems contacting @siemiatj, but there are updates in the pipeline. Are you interested in contributing to this project @Vasault?
Try this https://github.com/Kishanjvaghela/react-native-modal-dropdown
Added support for renderRightComponent
.
Now you can render anything in right side including icon as well.
<ModalDropdown
isFullWidth
textStyle={{ flex: 1 }}
renderRightComponent={() => (
<Image />
)}
{...rest} />
what i mean is, i red somewhere around here that you can wrap the component and inside put a button to mimic the dropdown icon, but the thing is, this is replacing the onPress behaviour, instead of just being a single icon to differentiate between my textinputs and my dropdowns