2024-08-11 10:58:13 +08:00
|
|
|
import type { AnyObject } from '../_util/type';
|
2022-05-07 14:31:54 +08:00
|
|
|
import type { ColumnType } from './interface';
|
2020-01-06 17:28:28 +08:00
|
|
|
|
2024-08-13 10:34:52 +08:00
|
|
|
export interface ColumnProps<RecordType = AnyObject> extends ColumnType<RecordType> {
|
2020-01-06 17:28:28 +08:00
|
|
|
children?: null;
|
|
|
|
}
|
|
|
|
|
2023-06-07 21:59:21 +08:00
|
|
|
/* istanbul ignore next */
|
2020-12-28 15:30:18 +08:00
|
|
|
/** 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
|
2024-08-11 10:58:13 +08:00
|
|
|
const Column = <RecordType extends AnyObject>(_: ColumnProps<RecordType>) => null;
|
2020-01-06 17:28:28 +08:00
|
|
|
|
|
|
|
export default Column;
|