diff options
Diffstat (limited to 'src/components/ListTable.tsx')
-rw-r--r-- | src/components/ListTable.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ListTable.tsx b/src/components/ListTable.tsx index 4bbe633..79e1ecd 100644 --- a/src/components/ListTable.tsx +++ b/src/components/ListTable.tsx @@ -1,10 +1,10 @@ import React from 'react'; import _ from 'lodash'; -interface Field { +export interface Field { key: string; label: string; - transform?: (text: string) => string; + transform?: (value: string) => JSX.Element | string; } interface Props { |