fix. 타입 경고 수정

This commit is contained in:
clkim
2025-09-23 21:33:11 +09:00
parent 34a8248731
commit c0c7c40001
5 changed files with 49 additions and 79 deletions

View File

@@ -0,0 +1,16 @@
/**
* BannerList 컴포넌트 타입 정의
*/
export interface BannerSizeItem {
width: number
height: number
gap: number
}
export interface BannerSize {
mo: BannerSizeItem
pc: BannerSizeItem
}
export type BannerMode = 'auto' | 'fixed'

View File

@@ -8,12 +8,3 @@ export interface ButtonConfig {
text: string
rounded: string
}
// Button 컴포넌트 Props 인터페이스
export interface ButtonProps {
size?: ButtonSize
backgroundColor?: string
textColor?: string
icon?: string
disabled?: boolean
}