Skip to content

Commit d367b79

Browse files
committed
fix: update onPress prop type to remove incorrect parameter
1 parent d184f3c commit d367b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/RadioButton/RadioButtonAndroid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type Props = $RemoveChildren<typeof TouchableRipple> & {
2424
/**
2525
* Function to execute on press.
2626
*/
27-
onPress?: (param?: any) => void;
27+
onPress?: () => void;
2828
/**
2929
* Custom color for unchecked radio.
3030
*/

0 commit comments

Comments
 (0)