From fbc083c3737455fa5256e56023fcbfc6ac3eda41 Mon Sep 17 00:00:00 2001 From: Yee Jia Wei Date: Mon, 18 Dec 2023 08:30:14 +0800 Subject: [PATCH] add icon to link create modal more option collapse icon --- components/ModalContent/NewLinkModal.tsx | 87 ++++++++++++------------ 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a/components/ModalContent/NewLinkModal.tsx b/components/ModalContent/NewLinkModal.tsx index 156fe28..2b0ef25 100644 --- a/components/ModalContent/NewLinkModal.tsx +++ b/components/ModalContent/NewLinkModal.tsx @@ -145,53 +145,56 @@ export default function NewLinkModal({ onClose }: Props) { - {optionsExpanded ? ( -
- {/*
*/} -
-
-

Name

- setLink({ ...link, name: e.target.value })} - placeholder="e.g. Example Link" - className="bg-base-200" - /> -
- -
-

Tags

- { - return { label: e.name, value: e.id }; - })} - /> -
- -
-

Description

-