ant-design/components/table/Column.tsx

15 lines
391 B
TypeScript
Raw Normal View History

2020-01-06 17:28:28 +08:00
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. */
2020-01-06 17:28:28 +08:00
// eslint-disable-next-line no-unused-vars
function Column<RecordType>(_: ColumnProps<RecordType>) {
return null;
}
export default Column;