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 propertyonPress. It will be ignored. at buttonTo make it work, I replaced
onPresstoonClickWhy do we don't have
onClickproperty inremoveButtonProps?Beta Was this translation helpful? Give feedback.
All reactions