Is there a way to check which breakpoint is active in react-spectrum? #6973
Unanswered
mistyharsh
asked this question in
Q&A
Replies: 1 comment
-
Not at the moment: #2989 |
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.
-
The
useProvider()
provides breakpoint object. However, I need to know which breakpoint is/are active. Is there any out-of-the-box utility in@adobe/react-spectrum
to get this? Or, would I need to write my custom media query using the values from breakpoint object?Beta Was this translation helpful? Give feedback.
All reactions