Unable to import AriaButtonOptions #4783
JHunnicutt
started this conversation in
General
Replies: 1 comment 1 reply
-
Looks like we may have forgotten to export that from the individual package and monopackage. Thanks! I've created a PR here: #4784 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
According to the documentation for the
useButton
hook, the props argument should be the typeAriaButtonOptions
. I see this interface exported from the source file, but it's completely inaccessible to me in the component file. I try and import it, but my auto-complete doesn't indicate that it can be downloaded, and if I do import it, I'm given the error that there's no exported member.Curiously enough, I'm also given the error
"react-aria" has no exported member named 'AriaButtonOptions'. Did you mean 'AriaButtonProps'?
According to this post,AriaButtonProps
should have been removed, in favor ofAriaButtonOptions
.What might be going on here with this interface, and what could explain the contradictory info that I'm seeing?
Beta Was this translation helpful? Give feedback.
All reactions