system-copyright-react/src/interfaces/proj/ICardProj.ts

23 lines
454 B
TypeScript
Raw Normal View History

2024-03-14 18:33:58 +08:00
export interface ICardProjBodyLine {
title: string;
contents: string[];
}
export interface ICardProjChargeLine {
title: string;
price: number;
}
export interface ICardProjBuy {
label?: string,
price: number;
handleClick(title: string, price: number): void;
}
export interface ICardProj {
head: string;
bodyLineArray: ICardProjBodyLine[];
chargeLineArray?: ICardProjChargeLine[];
buyArray: ICardProjBuy[];
}