Skip to content

Commit

Permalink
fix string selector type
Browse files Browse the repository at this point in the history
  • Loading branch information
jbetancur committed Sep 28, 2021
1 parent d6951f8 commit 8bd7e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTable/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export interface TableColumn<T> extends TableColumnBase {
cell?: (row: T, rowIndex: number, column: TableColumn<T>, id: string | number) => React.ReactNode;
conditionalCellStyles?: ConditionalStyles<T>[];
format?: Format<T> | undefined;
selector?: Selector<T>;
selector?: string | Selector<T>;
sortFunction?: ColumnSortFunction<T>;
}

Expand Down

0 comments on commit 8bd7e8e

Please sign in to comment.