Skip to content

Need Preprocess Function #143

@7772

Description

@7772

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions