ItsJonQ / g2

✨ An experimental reimagining of WordPress components
http://g2-components.com/
MIT License
105 stars 12 forks source link

create-styles: Use WP/data for use-reduced-motion hook #221

Closed sarayourfriend closed 3 years ago

sarayourfriend commented 3 years ago

For some reason the tests fail, I have no idea why. Running storybook and manual testing works fine, but something is complaining about hook rules :(

To manually test, run storybook and toggle reduced motion via the configuration options. Note that the change is effective by testing various components that use animation (like ZStack or Accordion)

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/itsjonq/g2/q59utfdz8
✅ Preview: https://g2-git-refactor-wp-data-reduced-motion.itsjonq.vercel.app