You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
519 B
13 lines
519 B
import * as React from 'react';
|
|
import { ColumnProps } from './Column';
|
|
import { ColumnType } from '../interface';
|
|
export interface ColumnGroupProps<RecordType> extends Omit<ColumnType<RecordType>, 'children'> {
|
|
children: React.ReactElement<ColumnProps<RecordType>> | React.ReactElement<ColumnProps<RecordType>>[];
|
|
}
|
|
/**
|
|
* This is a syntactic sugar for `columns` prop.
|
|
* So HOC will not work on this.
|
|
*/
|
|
declare function ColumnGroup<RecordType>(_: ColumnGroupProps<RecordType>): any;
|
|
export default ColumnGroup;
|