Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Preprocess Function #143

Open
7772 opened this issue Dec 3, 2018 · 0 comments
Open

Need Preprocess Function #143

7772 opened this issue Dec 3, 2018 · 0 comments

Comments

@7772
Copy link

7772 commented Dec 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant