Filter onClick from button props
This commit is contained in:
parent
9163d5a25d
commit
251f6a92a9
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ export const Button = forwardRef(
|
||||||
children,
|
children,
|
||||||
onPress,
|
onPress,
|
||||||
onPressStart,
|
onPressStart,
|
||||||
|
onClick, // Use onPress instead of onClick
|
||||||
...rest
|
...rest
|
||||||
},
|
},
|
||||||
ref
|
ref
|
||||||
|
|
Loading…
Add table
Reference in a new issue