onPress
#4748
Replies: 1 comment
-
You'll want In your example, you could add let { buttonProps } = useButton(removeButtonProps, ref); then spread |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement a TagGroup component, but I got a warning and the remove feature does not work.
react-dom.development.js:86 Warning: Unknown event handler property
onPress. It will be ignored. at button
To make it work, I replaced
onPress
toonClick
Why do we don't have
onClick
property inremoveButtonProps
?Beta Was this translation helpful? Give feedback.
All reactions