fix: table sticky type error, close #4804

pull/4825/head
tangjinzhou 2021-10-26 16:46:32 +08:00
parent 7e9e5af63f
commit 40f361fe1f
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ export const tableProps = () => {
default: undefined,
},
rowExpandable: { type: Function as PropType<TableProps['rowExpandable']>, default: undefined },
sticky: { type: String as PropType<TableProps['sticky']>, default: undefined },
sticky: { type: [Boolean, Object] as PropType<TableProps['sticky']>, default: undefined },
dropdownPrefixCls: String,
dataSource: { type: Array as PropType<RcTableProps['data']>, default: undefined },