From d367b796d23f9bcfb5367c1fe28dce519dad0a32 Mon Sep 17 00:00:00 2001 From: JDMathew Date: Thu, 8 May 2025 21:51:51 -0700 Subject: [PATCH] fix: update onPress prop type to remove incorrect parameter --- src/components/RadioButton/RadioButtonAndroid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RadioButton/RadioButtonAndroid.tsx b/src/components/RadioButton/RadioButtonAndroid.tsx index 515efe5eff..6a7b18f868 100644 --- a/src/components/RadioButton/RadioButtonAndroid.tsx +++ b/src/components/RadioButton/RadioButtonAndroid.tsx @@ -24,7 +24,7 @@ export type Props = $RemoveChildren & { /** * Function to execute on press. */ - onPress?: (param?: any) => void; + onPress?: () => void; /** * Custom color for unchecked radio. */