amis-rpc-design/node_modules/rc-table/lib/sugar/Column.d.ts
2023-10-07 19:42:30 +08:00

11 lines
328 B
TypeScript

import type { ColumnType } from '../interface';
export interface ColumnProps<RecordType> extends ColumnType<RecordType> {
children?: null;
}
/**
* This is a syntactic sugar for `columns` prop.
* So HOC will not work on this.
*/
declare function Column<RecordType>(_: ColumnProps<RecordType>): any;
export default Column;