fix. 버튼 컴포넌트 제작

This commit is contained in:
clkim
2025-09-17 11:14:59 +09:00
parent 525b350ae4
commit d9c26e651d
3 changed files with 74 additions and 89 deletions

View File

@@ -0,0 +1,19 @@
// 버튼 크기 타입
export type ButtonSize = 'large' | 'medium' | 'small' | 'extra-small'
// 버튼 설정 인터페이스
export interface ButtonConfig {
padding: string
height: string
text: string
rounded: string
}
// Button 컴포넌트 Props 인터페이스
export interface ButtonProps {
size?: ButtonSize
backgroundColor?: string
textColor?: string
icon?: string
disabled?: boolean
}