28 lines
455 B
TypeScript
28 lines
455 B
TypeScript
|
|
interface DataProps {
|
||
|
|
row: RequestItemsObject;
|
||
|
|
rowIndex: number;
|
||
|
|
}
|
||
|
|
|
||
|
|
//ข้อมูล
|
||
|
|
interface RequestItemsObject {
|
||
|
|
id: string;
|
||
|
|
receiveDate: Date;
|
||
|
|
detail: string;
|
||
|
|
agency: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
//columns
|
||
|
|
interface Columns {
|
||
|
|
[index: number]: {
|
||
|
|
name: String;
|
||
|
|
align: String;
|
||
|
|
label: String;
|
||
|
|
sortable: Boolean;
|
||
|
|
field: String;
|
||
|
|
headerStyle: String;
|
||
|
|
style: String;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
export type { RequestItemsObject, Columns, DataProps };
|