fix. 버튼 컴포넌트 링크 적용, 코드 리팩토링
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user