diff --git a/package.json b/package.json index 4606ef188..991f5e60c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sheinx", "private": true, - "version": "3.4.2-beta.2", + "version": "3.4.2-beta.3", "description": "A react library developed with sheinx", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/base/src/tabs/tab.tsx b/packages/base/src/tabs/tab.tsx index 4455a51ac..39d94f5fb 100644 --- a/packages/base/src/tabs/tab.tsx +++ b/packages/base/src/tabs/tab.tsx @@ -106,11 +106,7 @@ const Tab = (props: TabProps, ref: any) => { ); if (util.isLink(propTab)) { - return React.cloneElement(propTab, { - children: $children, - - ...containerProps, - }); + return {$children} } return