Replies: 2 comments 2 replies
-
I usually use a hook to check the screen width and accordingly switch the direction state. |
Beta Was this translation helpful? Give feedback.
2 replies
-
you can use `const [side, setSide] = useState("right"); useEffect(() => {
}, []);
|
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.
-
I use tailwind and would like to have a different behaviour on mobile than on desktop
Beta Was this translation helpful? Give feedback.
All reactions