From fa23612e0905fbe725a2a96030889640554d7e0d Mon Sep 17 00:00:00 2001 From: minh0518 Date: Wed, 26 Feb 2025 13:51:02 +0900 Subject: [PATCH] =?UTF-8?q?chore=20#67=20:=20basebutton=ED=8F=B4=EB=8D=94?= =?UTF-8?q?=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/button.ts | 2 +- src/common/components/button/Button.tsx | 2 +- .../components/{base-button => button}/base-button.styles.ts | 0 src/common/components/{base-button => button}/base-button.tsx | 2 +- src/common/components/kakao-auth-button/kakao-auth-button.tsx | 2 +- .../components/custom-buttons/accordion-trigger-button.tsx | 2 +- .../components/custom-buttons/sidebar-close-button.tsx | 2 +- .../components/custom-buttons/sidebar-open-button.tsx | 2 +- .../components/custom-buttons/single-content-button.tsx | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) rename src/common/components/{base-button => button}/base-button.styles.ts (100%) rename src/common/components/{base-button => button}/base-button.tsx (91%) diff --git a/src/assets/styles/button.ts b/src/assets/styles/button.ts index 706fa60..ffd8bf8 100644 --- a/src/assets/styles/button.ts +++ b/src/assets/styles/button.ts @@ -1,6 +1,6 @@ import { ReactNode } from 'react'; -import { BaseButtonProps } from '@/common/components/base-button/base-button'; +import { BaseButtonProps } from '@/common/components/button/base-button'; import { colors } from './colors'; diff --git a/src/common/components/button/Button.tsx b/src/common/components/button/Button.tsx index b5ffa76..9b4ac73 100644 --- a/src/common/components/button/Button.tsx +++ b/src/common/components/button/Button.tsx @@ -1,7 +1,7 @@ import { forwardRef } from 'react'; import { IconOnlyProps, TextAndIconProps, TextOnlyProps } from '@/assets/styles/button'; -import { BaseButton } from '@/common/components/base-button/base-button'; +import { BaseButton } from '@/common/components/button/base-button'; import * as styles from './button.styles'; diff --git a/src/common/components/base-button/base-button.styles.ts b/src/common/components/button/base-button.styles.ts similarity index 100% rename from src/common/components/base-button/base-button.styles.ts rename to src/common/components/button/base-button.styles.ts diff --git a/src/common/components/base-button/base-button.tsx b/src/common/components/button/base-button.tsx similarity index 91% rename from src/common/components/base-button/base-button.tsx rename to src/common/components/button/base-button.tsx index 3538cb9..48bd98d 100644 --- a/src/common/components/base-button/base-button.tsx +++ b/src/common/components/button/base-button.tsx @@ -1,4 +1,4 @@ -import { ButtonHTMLAttributes, forwardRef, ReactNode } from 'react'; +import { ButtonHTMLAttributes, forwardRef } from 'react'; import { Slot } from '@radix-ui/react-slot'; diff --git a/src/common/components/kakao-auth-button/kakao-auth-button.tsx b/src/common/components/kakao-auth-button/kakao-auth-button.tsx index e2ca60b..29c7334 100644 --- a/src/common/components/kakao-auth-button/kakao-auth-button.tsx +++ b/src/common/components/kakao-auth-button/kakao-auth-button.tsx @@ -1,6 +1,6 @@ import { forwardRef } from 'react'; -import { BaseButton, BaseButtonProps } from '@/common/components/base-button/base-button'; +import { BaseButton, BaseButtonProps } from '@/common/components/button/base-button'; import * as styles from './kakao-auth-button.styles'; diff --git a/src/features/total-evaluation/components/custom-buttons/accordion-trigger-button.tsx b/src/features/total-evaluation/components/custom-buttons/accordion-trigger-button.tsx index daa6fd6..50ce029 100644 --- a/src/features/total-evaluation/components/custom-buttons/accordion-trigger-button.tsx +++ b/src/features/total-evaluation/components/custom-buttons/accordion-trigger-button.tsx @@ -1,6 +1,6 @@ import { forwardRef } from 'react'; -import { BaseButton, BaseButtonProps } from '@/common/components/base-button/base-button'; +import { BaseButton, BaseButtonProps } from '@/common/components/button/base-button'; import * as styles from './accordion-trigger-button.styles'; diff --git a/src/features/total-evaluation/components/custom-buttons/sidebar-close-button.tsx b/src/features/total-evaluation/components/custom-buttons/sidebar-close-button.tsx index d42fd51..aad237b 100644 --- a/src/features/total-evaluation/components/custom-buttons/sidebar-close-button.tsx +++ b/src/features/total-evaluation/components/custom-buttons/sidebar-close-button.tsx @@ -1,7 +1,7 @@ import { ButtonHTMLAttributes, forwardRef } from 'react'; import { MdOutlineKeyboardDoubleArrowRight } from 'react-icons/md'; -import { BaseButton } from '@/common/components/base-button/base-button'; +import { BaseButton } from '@/common/components/button/base-button'; const SidebarCloseButton = forwardRef>( (props, ref) => ( diff --git a/src/features/total-evaluation/components/custom-buttons/sidebar-open-button.tsx b/src/features/total-evaluation/components/custom-buttons/sidebar-open-button.tsx index 298cee5..1af1609 100644 --- a/src/features/total-evaluation/components/custom-buttons/sidebar-open-button.tsx +++ b/src/features/total-evaluation/components/custom-buttons/sidebar-open-button.tsx @@ -1,7 +1,7 @@ import { ButtonHTMLAttributes, forwardRef } from 'react'; import { MdOutlineKeyboardDoubleArrowLeft } from 'react-icons/md'; -import { BaseButton } from '@/common/components/base-button/base-button'; +import { BaseButton } from '@/common/components/button/base-button'; const SidebarOpenButton = forwardRef>( (props, ref) => ( diff --git a/src/features/total-evaluation/components/custom-buttons/single-content-button.tsx b/src/features/total-evaluation/components/custom-buttons/single-content-button.tsx index ae27bbc..c4f8bc0 100644 --- a/src/features/total-evaluation/components/custom-buttons/single-content-button.tsx +++ b/src/features/total-evaluation/components/custom-buttons/single-content-button.tsx @@ -1,6 +1,6 @@ import { forwardRef } from 'react'; -import { BaseButton, BaseButtonProps } from '../../../../common/components/base-button/base-button'; +import { BaseButton, BaseButtonProps } from '../../../../common/components/button/base-button'; import * as styles from './single-content-button.styles';