UNPKG

543 BTypeScriptView Raw
1import type * as React from 'react';
2import type { ColumnProps } from './Column';
3import type { ColumnType } from '../interface';
4export interface ColumnGroupProps<RecordType> extends Omit<ColumnType<RecordType>, 'children'> {
5 children: React.ReactElement<ColumnProps<RecordType>> | readonly React.ReactElement<ColumnProps<RecordType>>[];
6}
7/**
8 * This is a syntactic sugar for `columns` prop.
9 * So HOC will not work on this.
10 */
11declare function ColumnGroup<RecordType>(_: ColumnGroupProps<RecordType>): any;
12export default ColumnGroup;