mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
14 lines
422 B
TypeScript
14 lines
422 B
TypeScript
import type { AnyObject } from '../_util/type';
|
|
import type { ColumnType } from './interface';
|
|
|
|
export interface ColumnProps<RecordType = AnyObject> extends ColumnType<RecordType> {
|
|
children?: null;
|
|
}
|
|
|
|
/* istanbul ignore next */
|
|
/** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */
|
|
|
|
const Column = <RecordType extends AnyObject>(_: ColumnProps<RecordType>) => null;
|
|
|
|
export default Column;
|