mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
added optional id to ColumnProps
This commit is contained in:
5
types/react-virtualized/dist/es/Table.d.ts
vendored
5
types/react-virtualized/dist/es/Table.d.ts
vendored
@@ -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<ColumnProps> {
|
||||
static propTypes: {
|
||||
@@ -114,7 +116,8 @@ export class Column extends Component<ColumnProps> {
|
||||
maxWidth: Requireable<number>,
|
||||
minWidth: Requireable<number>,
|
||||
style: Requireable<React.CSSProperties>,
|
||||
width: Validator<number>
|
||||
width: Validator<number>,
|
||||
id: Requireable<string>
|
||||
};
|
||||
|
||||
static defaultProps: {
|
||||
|
||||
Reference in New Issue
Block a user