1
0
Эх сурвалжийг харах

fix: fix tabPlane tab props error in umd (#449)

fix: fix tabPlane tab props error in umd
代强 4 жил өмнө
parent
commit
2af891cc2b

+ 1 - 1
packages/semi-ui/tabs/index.tsx

@@ -15,7 +15,7 @@ import TabPane from './TabPane';
 import TabsContext from './tabs-context';
 import { TabsProps, PlainTab, TabBarProps } from './interface';
 
-const panePickKeys = Object.keys(omit(TabPane.propTypes, ['children']));
+const panePickKeys = ['className', 'style', 'disabled', 'itemKey', 'tab', 'icon'];
 
 export * from './interface';