Closed cedrycm closed 2 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/blacksocialists/dual-power-app/DcsQTy6yHieB28SgpNsqauEr9Ny6
✅ Preview: https://dual-power-app-git-feature-use-breakpoints-hook-blacksocialists.vercel.app
/open-design |
---|
(view full size) |
Commit 623b7b35e743d898864cc8934e28fbc644df28a4 (https://dual-power-app-i3dddz60v-blacksocialists.vercel.app).
This PR closes #105 by adding the
useBreakpoint()
hook functionality. This allows for the same windiCSS defined breakpoint keys to return a boolean attributed to the width of the corresponding element ref.Also adds
react-use
package and its dependencies