From c53e12d7760b488e8728141d7ae2978f08f6dcea Mon Sep 17 00:00:00 2001 From: Varun Murlidhar Date: Sat, 20 Apr 2024 11:58:18 -0400 Subject: [PATCH] Drawer changes --- compass/components/page/Drawer.tsx | 49 +++++++++--------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/compass/components/page/Drawer.tsx b/compass/components/page/Drawer.tsx index b22ac8a..5697235 100644 --- a/compass/components/page/Drawer.tsx +++ b/compass/components/page/Drawer.tsx @@ -119,12 +119,9 @@ const Drawer: FunctionComponent = ({ title, children, onSave, edita const favoriteIcon = isFavorite ? : - // const buttonStyle = `ml-2 uppercase opacity-0 group-hover:opacity-100 text-gray-500 font-medium border bg-white ${isOpen ? `border-gray-200` : ``} shadow hover:bg-gray-50 p-2 rounded-md` - return (
- {/* } text="Open" onClick={() => handleCardClick("Resources", )}/> */}
@@ -150,18 +147,25 @@ const Drawer: FunctionComponent = ({ title, children, onSave, edita - Username - {rowContent.username} + Username + + - Role - {rowContent.role} + Role + {rowContent.role} - Email - + Email + = ({ title, children, onSave, edita - Type of Program - {rowContent.program} + Type of Program + {rowContent.program}
- {/* {editContents.map((item, index) => ( -
- {item.isEditing ? ( - <> - - - - ) : ( - <> - {item.content} - - - )} - -
- ))} - */}