Skip to content

Commit 40f361f

Browse files
committed
fix: table sticky type error, close #4804
1 parent 7e9e5af commit 40f361f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/table/Table.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export const tableProps = () => {
171171
default: undefined,
172172
},
173173
rowExpandable: { type: Function as PropType<TableProps['rowExpandable']>, default: undefined },
174-
sticky: { type: String as PropType<TableProps['sticky']>, default: undefined },
174+
sticky: { type: [Boolean, Object] as PropType<TableProps['sticky']>, default: undefined },
175175

176176
dropdownPrefixCls: String,
177177
dataSource: { type: Array as PropType<RcTableProps['data']>, default: undefined },

0 commit comments

Comments
 (0)