Skip to content

Commit c6b9200

Browse files
authored
Merge pull request #1247 from buildo/1211-tablo_column_does_not
#1211: Tablo Column does not accept sortable prop (closes #1211)
2 parents aa4fcf4 + 60ae6c5 commit c6b9200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tablo/Column/Column.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import Footer from '../Footer';
1111

1212
export type Intrinsic<T> = {
1313
data?: T[],
14-
sortable?: boolean,
1514
sortDir?: 'asc' | 'desc',
1615
onHeaderClick: () => void
1716
}
@@ -25,6 +24,7 @@ export type Default = {
2524
export type Required<T, K extends string> = {
2625
key?: string | number
2726
name: K,
27+
sortable?: boolean,
2828
isResizable?: boolean,
2929
flexGrow?: number,
3030
children?: Column.ColumnChildren<T, K>
@@ -53,7 +53,7 @@ const argsTypes = struct({
5353
flexGrow: maybe(t.Number),
5454
children: ReactChildren,
5555
allowCellsRecycling: maybe(t.Boolean),
56-
56+
sortable: maybe(t.Boolean),
5757
isResizable: maybe(t.Boolean)
5858
}, { strict: true });
5959

0 commit comments

Comments
 (0)