fix. 버튼 컴포넌트 링크 적용, 코드 리팩토링

This commit is contained in:
clkim
2025-09-25 18:28:02 +09:00
parent 0ef8c5bdf5
commit acea3418e3
10 changed files with 247 additions and 235 deletions

View File

@@ -60,25 +60,25 @@ export interface PageDataResourceGroupResPath {
path_pc?: string
}
export interface PageDataResourceGroupBtnInfo {
color_code_btn: string
color_name_btn: string
color_code_txt: string
color_name_txt: string
disabled: boolean
txt_btn_name: string
detail: Record<string, any>
}
// 리소스 그룹 타입
export interface PageDataResourceGroup {
group_type?: string
group_code?: string
res_path?: PageDataResourceGroupResPath
btn_info?: {
color_code_btn: string
color_code_txt: string
disabled: boolean
txt_btn_name: string
detail: Record<string, any>
}
btn_info?: PageDataResourceGroupBtnInfo
display?: {
text: string
txt: string
color_code_btn?: string
color_name_btn?: string
color_code_txt?: string
color_name_txt?: string
color_code?: string
color_name?: string
}

View File

@@ -1,10 +1,2 @@
// 버튼 크기 타입
export type ButtonType = 'internal' | 'external' | 'download' | 'action'
export type ButtonSize = 'large' | 'medium' | 'small' | 'extra-small'
// 버튼 설정 인터페이스
export interface ButtonConfig {
padding: string
height: string
text: string
rounded: string
}