mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
feat: table column group support fixed(#3882) (#3884)
This commit is contained in:
parent
160f768008
commit
b5ccbd4aeb
@ -1,9 +1,13 @@
|
|||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import PropTypes from '../_util/vue-types';
|
import PropTypes, { withUndefined } from '../_util/vue-types';
|
||||||
|
import { tuple } from '../_util/type';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'ATableColumnGroup',
|
name: 'ATableColumnGroup',
|
||||||
props: {
|
props: {
|
||||||
|
fixed: withUndefined(
|
||||||
|
PropTypes.oneOfType([PropTypes.looseBool, PropTypes.oneOf(tuple('left', 'right'))]),
|
||||||
|
),
|
||||||
title: PropTypes.any,
|
title: PropTypes.any,
|
||||||
},
|
},
|
||||||
__ANT_TABLE_COLUMN_GROUP: true,
|
__ANT_TABLE_COLUMN_GROUP: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user