From c0f617b6025fc60df2ff571bd635c4d6cc0dad28 Mon Sep 17 00:00:00 2001 From: Mark Perkins Date: Wed, 1 Nov 2017 10:48:51 -0600 Subject: [PATCH] added optional id to ColumnProps --- types/react-virtualized/dist/es/Table.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/react-virtualized/dist/es/Table.d.ts b/types/react-virtualized/dist/es/Table.d.ts index c1216f12b1..9b9e7d3d95 100644 --- a/types/react-virtualized/dist/es/Table.d.ts +++ b/types/react-virtualized/dist/es/Table.d.ts @@ -96,6 +96,8 @@ export type ColumnProps = { style?: React.CSSProperties; /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */ width: number; + /** Optional id for column header */ + id?: string; } export class Column extends Component { static propTypes: { @@ -114,7 +116,8 @@ export class Column extends Component { maxWidth: Requireable, minWidth: Requireable, style: Requireable, - width: Validator + width: Validator, + id: Requireable }; static defaultProps: {