mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 21:48:19 +08:00
18 lines
398 B
TypeScript
18 lines
398 B
TypeScript
import { ColumnType } from './interface';
|
|
|
|
export interface ColumnProps<RecordType> extends ColumnType<RecordType> {
|
|
children?: null;
|
|
}
|
|
|
|
/* istanbul ignore next */
|
|
/**
|
|
* This is a syntactic sugar for `columns` prop.
|
|
* So HOC will not work on this.
|
|
*/
|
|
// eslint-disable-next-line no-unused-vars
|
|
function Column<RecordType>(_: ColumnProps<RecordType>) {
|
|
return null;
|
|
}
|
|
|
|
export default Column;
|