Filter onClick from button props
This commit is contained in:
@@ -36,6 +36,7 @@ export const Button = forwardRef(
|
||||
children,
|
||||
onPress,
|
||||
onPressStart,
|
||||
onClick, // Use onPress instead of onClick
|
||||
...rest
|
||||
},
|
||||
ref
|
||||
|
||||
Reference in New Issue
Block a user