diff --git a/components/card/Card.jsx b/components/card/Card.jsx
index 40d4f92759..93ab713e7c 100644
--- a/components/card/Card.jsx
+++ b/components/card/Card.jsx
@@ -29,6 +29,7 @@ export default {
size: PropTypes.oneOf(['default', 'small']),
actions: PropTypes.any,
tabList: PropTypes.array,
+ tabProps: PropTypes.object,
tabBarExtraContent: PropTypes.any,
activeTabKey: PropTypes.string,
defaultActiveTabKey: PropTypes.string,
@@ -73,6 +74,7 @@ export default {
size = 'default',
type,
tabList,
+ tabProps = {},
hoverable,
activeTabKey,
defaultActiveTabKey,
@@ -145,7 +147,7 @@ export default {
const hasActiveTabKey = activeTabKey !== undefined;
const tabsProps = {
props: {
- size: 'large',
+ ...tabProps,
[hasActiveTabKey ? 'activeKey' : 'defaultActiveKey']: hasActiveTabKey
? activeTabKey
: defaultActiveTabKey,
diff --git a/examples/App.vue b/examples/App.vue
index c661e87477..93ab247cba 100644
--- a/examples/App.vue
+++ b/examples/App.vue
@@ -1,16 +1,37 @@
-
-
- {{ text }}
-
-
- {{ text }}
-
-
- {{ text }}
-
-
+
+
+
+