From daea79bc5a1c5564236b4688c4f1c96d163b3b30 Mon Sep 17 00:00:00 2001 From: Jaied Al Sabid <87969327+jaieds@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:12:28 +0600 Subject: [PATCH] Added new design variation to the Drawer component --- src/components/drawer/drawer-body.tsx | 2 +- src/components/drawer/drawer-footer.tsx | 3 ++- src/components/drawer/drawer-header.tsx | 2 +- src/components/drawer/drawer-panel.tsx | 2 +- src/components/drawer/drawer.tsx | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/drawer/drawer-body.tsx b/src/components/drawer/drawer-body.tsx index 80a81b77..bdce8586 100644 --- a/src/components/drawer/drawer-body.tsx +++ b/src/components/drawer/drawer-body.tsx @@ -15,7 +15,7 @@ const DrawerBody = ( { children, className, ...props }: DrawerBodyProps ) => { return (
{ return (
{ return ( -
+
{ children }
); diff --git a/src/components/drawer/drawer-panel.tsx b/src/components/drawer/drawer-panel.tsx index 20c70493..e6bdb484 100644 --- a/src/components/drawer/drawer-panel.tsx +++ b/src/components/drawer/drawer-panel.tsx @@ -49,7 +49,7 @@ const DrawerPanel = ( { children, className }: DrawerPanelProps ) => {