mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 18:50:59 +08:00
2e0424d3b2
* translated doc of tab title * fixs: misspell * fixs: misspell * remove full stop
500 B
500 B
order | title | ||||
---|---|---|---|---|---|
5 |
|
zh-CN
用在弹出框等较狭窄的容器内。
en-US
Small size can be uesed in Modal.
import { Tabs } from 'antd';
const TabPane = Tabs.TabPane;
ReactDOM.render(
<Tabs defaultActiveKey="2" size="small">
<TabPane tab="Tab 1" key="1">Content of tab 1</TabPane>
<TabPane tab="Tab 2" key="2">Content of tab 2</TabPane>
<TabPane tab="Tab 3" key="3">Content of tab 3</TabPane>
</Tabs>
, mountNode);