initHeader
This commit is contained in:
32
frontend/src/hooks/interface/index.ts
Normal file
32
frontend/src/hooks/interface/index.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
export namespace Table {
|
||||
export interface Pageable {
|
||||
pageNum: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
}
|
||||
export interface StateProps {
|
||||
tableData: any[];
|
||||
pageable: Pageable;
|
||||
searchParam: {
|
||||
[key: string]: any;
|
||||
};
|
||||
searchInitParam: {
|
||||
[key: string]: any;
|
||||
};
|
||||
totalParam: {
|
||||
[key: string]: any;
|
||||
};
|
||||
icon?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export namespace HandleData {
|
||||
export type MessageType = "" | "success" | "warning" | "info" | "error";
|
||||
}
|
||||
|
||||
export namespace Theme {
|
||||
export type ThemeType = "light" | "inverted" | "dark";
|
||||
export type GreyOrWeakType = "grey" | "weak";
|
||||
}
|
||||
Reference in New Issue
Block a user