feat: table column group support fixed(#3882) (#3884)

This commit is contained in:
Mr小刘 2021-04-05 14:16:31 +08:00 committed by GitHub
parent 160f768008
commit b5ccbd4aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,13 @@
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({
name: 'ATableColumnGroup',
props: {
fixed: withUndefined(
PropTypes.oneOfType([PropTypes.looseBool, PropTypes.oneOf(tuple('left', 'right'))]),
),
title: PropTypes.any,
},
__ANT_TABLE_COLUMN_GROUP: true,