summaryrefslogtreecommitdiff
path: root/src/components/ListTable.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ListTable.tsx')
-rw-r--r--src/components/ListTable.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ListTable.tsx b/src/components/ListTable.tsx
index 79e1ecd..89a2e06 100644
--- a/src/components/ListTable.tsx
+++ b/src/components/ListTable.tsx
@@ -7,8 +7,8 @@ export interface Field {
transform?: (value: string) => JSX.Element | string;
}
-interface Props {
- items?: any[];
+interface Props<T = any> {
+ items?: T[];
fields: Field[];
handleRowClick?: (index: number) => void;
}