[FEAT] useDrawer hook for Ant Design
Is your feature request related to a problem? Please describe.
Antd currently has useDrawerForm which works for creating/editing/cloning, but I often use drawers for showing too. I don't want to manage the Drawer component myself because I'm trying to rely on Refine as much as possible.
Describe alternatives you've considered
Alternative solutions: manage the Drawer component myself or just use modals for all my show views.
Additional context
We already have a precedent for this paradigm with useModal/useModalForm. Also the code is already there in useDrawerForm, it just needs to be refactored to expose useDrawer separately and then it can be imported into useDrawerForm.
Describe the thing to improve
It would be nice to have a useDrawer hook for helping me manage the Ant Design Drawer component.
Hello @codercody, It would be great 🚀 Do you want to work on this?
Let me know if I can work on this. Thanks.
Hey, I can work on this. Kindly assign me this
Hey @codercody, could you review this PR ? @arndom did a great job. It would be great if you could check whether it also covers your needs.