32 lines
568 B
TypeScript
32 lines
568 B
TypeScript
interface DataProps {
|
|
row: RequestItemsObject;
|
|
rowIndex: number;
|
|
}
|
|
|
|
//ข้อมูล
|
|
interface RequestItemsObject {
|
|
id: string;
|
|
level: string;
|
|
detail: string;
|
|
unStigma: string;
|
|
refCommandNo: string;
|
|
refCommandDate: Date | null;
|
|
date: Date;
|
|
createdFullName: string;
|
|
createdAt: 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 };
|