ReactNativeDropdownAndroid
ReactNativeDropdownAndroid copied to clipboard
Open via button
Hi. Thank you for your work!
I'm searching for Spinner component which can be opened by button instead text spinner. Is it possible to do with your component?
Hi @terrysahaidak
I believe that it is possible to do, but I'm afraid I'm not inclined to implement that feature, since I'll have to maintain a prop like open={true}
or something like that, since you can't call method on react UI components.
I suggest you fork my repo and implement that, with an additional prop and event to maintain the open/close state of the spinner.
I have eventually opted for using https://github.com/aakashns/react-native-dialogs