30 lines
536 B
TypeScript
30 lines
536 B
TypeScript
interface DataProps {
|
|
row: RequestItemsObject;
|
|
rowIndex: number;
|
|
}
|
|
|
|
//ข้อมูล
|
|
interface RequestItemsObject {
|
|
id: string;
|
|
educationLevelId: string;
|
|
educationLevel: string;
|
|
major: string;
|
|
scores: number | null;
|
|
name: string;
|
|
duration: [Date, Date];
|
|
}
|
|
|
|
//columns
|
|
interface Columns {
|
|
[index: number]: {
|
|
name: String;
|
|
align: String;
|
|
label: String;
|
|
sortable: Boolean;
|
|
field: String;
|
|
headerStyle: String;
|
|
style: String;
|
|
};
|
|
}
|
|
|
|
export type { RequestItemsObject, Columns, DataProps };
|