Feature
- Call function before calling onPress function.
Example
If you want to alert something to user after user is clicking Dropdown and before calling onPress function, we have to use like this. Like below.
<Dropdown
...
preprocessFunc={() => {alert("Hello! I'm Dropdown.")}}
/>
Then, preprocessFunc prop is called first after you did click Dropdown.
WE NEED THIS.
Please check My Pull Request
Feature
Example
If you want to alert something to user after user is clicking Dropdown and before calling onPress function, we have to use like this. Like below.
Then, preprocessFunc prop is called first after you did click Dropdown.
WE NEED THIS.
Please check My Pull Request