From 07dc1dfc0517a20a91e013a3b479620b03aff08c Mon Sep 17 00:00:00 2001 From: "Jungkyun Woo(Woody)" <73513965+woo-jk@users.noreply.github.com> Date: Sat, 24 Aug 2024 15:46:00 +0900 Subject: [PATCH] =?UTF-8?q?feat(my-info):=20=EB=82=B4=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=ED=8E=98=EC=9D=B4=EC=A7=80=20API=20=EC=97=B0=EB=8F=99=20(#2?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 카드 추가 모달 구현 * type 명 변경 * feat: 카드 조회 api 연동 * CustomDialog * 카드 추가하기 기능 구현 * 카드삭제 기능 구현 * 터치버튼 * http * 쿼리키 분리 * 카드 추가 후 에디터로 이동 * ui 일부 수정 * 제목 색상 변경 * delete --- .../write/[id]/components/TagSelector/TagSelector.tsx | 6 +++++- src/system/components/Icon/Icon.tsx | 2 +- src/system/components/Icon/SVG/Refresh.tsx | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/app/(sidebar)/write/[id]/components/TagSelector/TagSelector.tsx b/src/app/(sidebar)/write/[id]/components/TagSelector/TagSelector.tsx index 7b20c62f..fa9a73ab 100644 --- a/src/app/(sidebar)/write/[id]/components/TagSelector/TagSelector.tsx +++ b/src/app/(sidebar)/write/[id]/components/TagSelector/TagSelector.tsx @@ -79,6 +79,7 @@ function Content({ ); } +function Notice({ children, className }: StrictPropsWithChildren<{ className?: string }>) { function Notice({ children, className }: StrictPropsWithChildren<{ className?: string }>) { const { disabled } = useTagSelectorContext(); @@ -89,6 +90,7 @@ function Notice({ children, className }: StrictPropsWithChildren<{ className?: s ); } +function TagList({ title, children, className }: StrictPropsWithChildren<{ title?: string; className?: string }>) { function TagList({ title, children, className }: StrictPropsWithChildren<{ title?: string; className?: string }>) { const { disabled } = useTagSelectorContext(); @@ -99,7 +101,6 @@ function TagList({ title, children, className }: StrictPropsWithChildren<{ title ); } - function TagSelector({ children, className, @@ -112,6 +113,9 @@ function TagSelector({ {children} + + {children} + ); } diff --git a/src/system/components/Icon/Icon.tsx b/src/system/components/Icon/Icon.tsx index 3433d8e8..8dc33616 100644 --- a/src/system/components/Icon/Icon.tsx +++ b/src/system/components/Icon/Icon.tsx @@ -23,7 +23,7 @@ import { More } from './SVG/More'; import { Pip } from './SVG/Pip'; import { Profile } from './SVG/Profile'; import { ProfileFill } from './SVG/ProfileFill'; -import Refresh from './SVG/Refresh'; +import { Refresh } from './SVG/Refresh'; import { Remove } from './SVG/Remove'; import { RightChevron } from './SVG/RightChevron'; import { Search } from './SVG/Search'; diff --git a/src/system/components/Icon/SVG/Refresh.tsx b/src/system/components/Icon/SVG/Refresh.tsx index 60b0a9ed..c1bb7761 100644 --- a/src/system/components/Icon/SVG/Refresh.tsx +++ b/src/system/components/Icon/SVG/Refresh.tsx @@ -1,6 +1,6 @@ import { IconBaseType } from './type'; -export default function Refresh({ size, color }: IconBaseType) { +export function Refresh({ size, color }: IconBaseType) { return (