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