From d9a67ede099a546565243f764a1fc3201ad5ff87 Mon Sep 17 00:00:00 2001 From: seungchanwoo Date: Thu, 8 Aug 2024 15:25:32 +0900 Subject: [PATCH] =?UTF-8?q?Formatting:=20#62=20ListSidebar=20props=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sidebar/ListSidebar.tsx | 14 +++++++------- src/layouts/page/TeamLayout.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/sidebar/ListSidebar.tsx b/src/components/sidebar/ListSidebar.tsx index bc84792b..5d270b66 100644 --- a/src/components/sidebar/ListSidebar.tsx +++ b/src/components/sidebar/ListSidebar.tsx @@ -4,13 +4,13 @@ type ListSidebarProps = { label?: string; title: string; children?: ReactNode; - isButton?: boolean; - buttonText?: string; - onButtonClick?: () => void; + showButton?: boolean; + text?: string; + onClick?: () => void; }; // ToDo: 프로젝트 생성 등과 같은 버튼 기능 추가할 것 -export default function ListSidebar({ label, title, children, isButton, buttonText, onButtonClick }: ListSidebarProps) { +export default function ListSidebar({ label, title, children, showButton, text, onClick }: ListSidebarProps) { return (