Skip to content

Commit

Permalink
fix(ProCard): delete cardProps when pass tabs parameter to antd Tabs (#…
Browse files Browse the repository at this point in the history
…8460)

* fix(table): 修columnsMap重新赋值时总是使用默认值的问题

* fix(card): delete cardProps when pass tabs to antd Tabd
  • Loading branch information
fnoopv authored Jun 6, 2024
1 parent 1c8714c commit 3b72808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/card/src/components/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const Card = React.forwardRef((props: CardProps, ref: any) => {
<div className={`${prefixCls}-tabs ${hashId}`.trim()}>
<Tabs
onChange={tabs.onChange}
{...tabs}
{...omit(tabs, ['cardProps'])}
// @ts-ignore
items={ModifyTabItemsContent}
>
Expand Down

0 comments on commit 3b72808

Please sign in to comment.