mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 04:22:27 +00:00
Filter onClick from button props
This commit is contained in:
1 parent
9163d5a25d
commit
251f6a92a9
1 file changed
+1
@@ -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