I'm new to react and I have a scenario where I'm using Drawer component of antd, and it's working fine, but by default it open a popup (slide from top) of the page, but here my requirement is instead of open pop-up I want to open as normal component and it have toggle button, if it off then it get slide up(hide) and if toggle is on then it slide down, and rest of component of the page also slide down to make space for it.
Please help me how can I achieve this.
Thanks
Exactly this is what I want, but it is without Drawer Solution, It works for me.