Is there a way to force a :hover
/ :active
state with the react-aria Button?
#5667
-
My use case is a little niche, but essentially want to have a storybook like setup where I display all the button variants and their possible states so I can better adjust their colors I was hoping I could use Not too tricky to work around, but curious about this sort of use case! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Have not tested, but would this addon work? https://github.com/chromaui/storybook-addon-pseudo-states Or maybe interaction tests with play functions: https://storybook.js.org/docs/writing-tests/interaction-testing |
Beta Was this translation helpful? Give feedback.
Have not tested, but would this addon work? https://github.com/chromaui/storybook-addon-pseudo-states
Or maybe interaction tests with play functions: https://storybook.js.org/docs/writing-tests/interaction-testing