You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read the documentation about Drawer and try this demo to learn more about size = full
-
This VolunteerSideViewDrawer will have the same design as the VolunteerSideView but it is a drawer that will cover the whole screen when open to avoid components being on top of each other.
Use const { isOpen: isDrawerOpen, onOpen: onDrawerOpen, onClose: onDrawerClose } = useDisclosure() in VolunteerEventPage.jsx and pass those as prop to VolunteerSideViewDrawer in order for the drawer to work
Please ask us if you have questions about anything!
Description
VolunteerSideView
is only made for desktop viewTo do
To fix this, make a new component called
VolunteerSideViewDrawer.jsx
full
Drawer
and try this demo to learn more aboutsize = full
-
This
VolunteerSideViewDrawer
will have the same design as theVolunteerSideView
but it is a drawer that will cover the whole screen when open to avoid components being on top of each other.Use
const { isOpen: isDrawerOpen, onOpen: onDrawerOpen, onClose: onDrawerClose } = useDisclosure()
inVolunteerEventPage.jsx
and pass those as prop toVolunteerSideViewDrawer
in order for the drawer to workPlease ask us if you have questions about anything!
Resources
The text was updated successfully, but these errors were encountered: