Skip to content

Conversation

@abumalick
Copy link
Contributor

typescript definition for Button's onPress should have event as argument

@RichardLindhout
Copy link
Contributor

This should be done for all components inclusing list.Item e.g. everything with onPress

@abumalick
Copy link
Contributor Author

I am ok to make more fixes if I get positive feedback from maintainers.

I am a bit surprised that a simple change like this does not get any feedback for a month.

Maybe I did something wrong?

@RichardLindhout
Copy link
Contributor

Me too, maybe as a maintainer directly e.g. via Twitter

@lukewalczak
Copy link
Member

Hey @abumalick don't worry, I will review the PR in my spare time

@lukewalczak
Copy link
Member

This should be done for all components inclusing list.Item e.g. everything with onPress

@RichardLindhout would you like to handle that in the separate PR?

@RichardLindhout
Copy link
Contributor

@lukewalczak done!

@lukewalczak lukewalczak changed the title typescript definition for Button's onPress should have event as argument fix: typescript definition for Button's onPress should have event as argument Nov 28, 2022
@callstack-bot
Copy link

Hey @abumalick, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Copy link
Member

@lukewalczak lukewalczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @abumalick

@lukewalczak lukewalczak merged commit 12865e9 into callstack:main Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants