Skip to content

TypeScript fix for AwesomeButtonProps.onPress#37

Merged
rcaferati merged 1 commit intorcaferati:masterfrom
coreplane:fix-onpress-type
Mar 6, 2020
Merged

TypeScript fix for AwesomeButtonProps.onPress#37
rcaferati merged 1 commit intorcaferati:masterfrom
coreplane:fix-onpress-type

Conversation

@danmaas
Copy link
Copy Markdown
Contributor

@danmaas danmaas commented Jan 27, 2020

This patch makes one minor correction to index.d.ts:

  • onPress() takes an optional "after press" parameter that is a function that accepts a callback. Update the TypeScript types to reflect this.

Happy user of your button component here! Appreciate the work you've put into this, and glad to see you're adding TypeScript support.

`onPress()` takes an optional "after press" parameter that is a function that accepts a callback. Update the TypeScript types to reflect this.
@rcaferati rcaferati merged commit 26c331b into rcaferati:master Mar 6, 2020
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

Successfully merging this pull request may close these issues.

2 participants