Skip to content

Commit

Permalink
Fix TS typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxhoundn committed Aug 10, 2023
1 parent e252caa commit 1a57a72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,17 @@ import {
import { IReqoreTableRowOptions } from './row';

export type TReqoreTableColumnContent =
| React.FC<{ [key: string]: any; _selectId?: string | number; _size: TSizes; _dataId: string }>
| ((data: IReqoreTableRowData) => any)
| 'time-ago'
| 'tag'
| `tag:${TReqoreIntent}`
| `tag:#${string}`
| 'title'
| `title:${TReqoreIntent}`
| 'text'
| `text:${TReqoreIntent}`;
| `text:${TReqoreIntent}`
| string
| number;

export interface IReqoreTableColumn extends IReqoreIntent {
dataId: string;
Expand Down

0 comments on commit 1a57a72

Please sign in to comment.