ant-design-vue/components/vc-table/sugar/Column.tsx

14 lines
382 B
Vue

import type { FunctionalComponent } from 'vue';
import type { ColumnType } from '../interface';
export type ColumnProps<RecordType> = ColumnType<RecordType>;
/* istanbul ignore next */
/**
* This is a syntactic sugar for `columns` prop.
* So HOC will not work on this.
*/
const Column: { <T>(arg: T): FunctionalComponent<ColumnProps<T>> } = () => null;
export default Column;