| activeKey |
当前激活 tab 面板的 key |
string |
无 |
| animated |
是否使用动画切换 Tabs,在 `tabPosition=top |
bottom` 时有效 |
boolean | {inkBar:boolean, tabPane:boolean} |
| defaultActiveKey |
初始化选中面板的 key,如果没有设置 activeKey |
string |
第一个面板 |
| hideAdd |
是否隐藏加号图标,在 type="editable-card" 时有效 |
boolean |
false |
| size |
大小,提供 large default 和 small 三种大小 |
string |
'default' |
| tabBarExtraContent |
tab bar 上额外的元素 |
slot |
无 |
| tabBarStyle |
tab bar 的样式对象 |
object |
- |
| tabPosition |
页签位置,可选值有 top right bottom left |
string |
'top' |
| type |
页签的基本样式,可选 line、card editable-card 类型 |
string |
'line' |
| tabBarGutter |
tabs 之间的间隙 |
number |
无 |