Filter onClick from button props

This commit is contained in:
Robert Long 2022-01-18 15:25:02 -08:00
parent 9163d5a25d
commit 251f6a92a9

View file

@ -36,6 +36,7 @@ export const Button = forwardRef(
children,
onPress,
onPressStart,
onClick, // Use onPress instead of onClick
...rest
},
ref