Skip to content

Conversation

@JDMathew
Copy link

@JDMathew JDMathew commented Aug 9, 2022

Summary

The type for onPress was incorrect for Android (default) Radio button

Test plan

Fixed warning in TS

@callstack-bot
Copy link

callstack-bot commented Aug 9, 2022

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

@lukewalczak
Copy link
Member

Hey @JDMathew , could you please rename the commit to follow the commit naming convention?

@lukewalczak lukewalczak force-pushed the main branch 6 times, most recently from 1062366 to 1da5d15 Compare May 8, 2025 09:47
@JDMathew
Copy link
Author

JDMathew commented May 9, 2025

@lukewalczak, I have updated the commit. (Only saw this now thanks to Arc browser)

* Function to execute on press.
*/
onPress?: (param?: any) => void;
onPress?: () => void;
Copy link
Member

Choose a reason for hiding this comment

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

Right now as I'm checking it, I think it should be:

  onPress?: (e: GestureResponderEvent) => void;
Suggested change
onPress?: () => void;
onPress?: (e: GestureResponderEvent) => void;

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.

3 participants