import pdfFileIcon from '../../../assets/icons/wing-pdf-file.svg';
import pdfFileDisabledIcon from '../../../assets/icons/wing-pdf-file-disabled.svg';
interface ButtonRow {
label: string;
defaultBtn: React.ReactNode;
hoverBtn: React.ReactNode;
disabledBtn: React.ReactNode;
}
const buttonRows: ButtonRow[] = [
{
label: '프라이머리 (그라디언트)',
defaultBtn: (
),
hoverBtn: (
),
disabledBtn: (
),
},
{
label: '세컨더리 (솔리드)',
defaultBtn: (
),
hoverBtn: (
),
disabledBtn: (
),
},
{
label: '아웃라인 (고스트)',
defaultBtn: (
),
hoverBtn: (
),
disabledBtn: (
),
},
{
label: 'PDF 액션',
defaultBtn: (
PDF 다운로드
),
hoverBtn: (
PDF 다운로드
),
disabledBtn: (
PDF 다운로드
),
},
{
label: '경고 (삭제)',
defaultBtn: (
),
hoverBtn: (
),
disabledBtn: (
),
},
];
export const ButtonCatalogSection = () => {
return (
{/* 카드 헤더 */}
{/* 테이블 본문 */}
{/* 헤더 행 */}
{['버튼 유형', '기본 상태', '호버 상태', '비활성 상태'].map((header) => (
))}
{/* 데이터 행 */}
{buttonRows.map((row, index) => (
{/* 버튼 유형 레이블 */}
{/* 기본 상태 */}
{row.defaultBtn}
{/* 호버 상태 */}
{row.hoverBtn}
{/* 비활성 상태 */}
{row.disabledBtn}
))}
);
};