Skip to content

Commit 20e4945

Browse files
committed
chore: Should merge expandable
1 parent 9783dcd commit 20e4945

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/legacyUtil.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export function getExpandableProps<RecordType>(
1111
const { expandable, ...legacyExpandableConfig } = props;
1212

1313
if ('expandable' in props) {
14-
return expandable;
14+
return {
15+
...legacyExpandableConfig,
16+
...expandable,
17+
};
1518
}
1619

1720
if (

0 commit comments

Comments
 (0)