fix. 타입 경고 수정
This commit is contained in:
16
layers/types/components/banner.ts
Normal file
16
layers/types/components/banner.ts
Normal 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'
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user