Skip to content

Commit

Permalink
feat: table column group support fixed(#3882) (#3884)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmallLiu authored Apr 5, 2021
1 parent 160f768 commit b5ccbd4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/table/ColumnGroup.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit b5ccbd4

Please sign in to comment.