mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 01:00:05 +00:00
Merge pull request #21179 from markperk/master
[react-virtualized] Optional Id added to columnProps within table.d.ts
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 to set on the column header; used for aria-describedby */
|
||||
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