Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Close Button (optional) and Full screen Drawer #35

Closed
carlospence opened this issue Oct 13, 2023 · 1 comment
Closed

Adding Close Button (optional) and Full screen Drawer #35

carlospence opened this issue Oct 13, 2023 · 1 comment

Comments

@carlospence
Copy link

Hi,

Having an in-built close at the top left or right corner of the drawer will be a great feature. Showing the close button can be optional and controlled by a prop.

Also, how can a fullscreen be achieved and must be very presentable on mobile? The in-built close button should be automatically on when on fullscreen.

@Farzin-Firoozi
Copy link
Owner

Hi,I've tried to keep things as simple as possible with complete flexibility in this package.
For having a fullscreen drawer you can set the width to 100vw, for the close button, you can implement it the way you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants