Tab
Tabs
component allows you to combine multiple Tab
components together, where different tabs can be switched.Example
First Tab
Second Tab
Third Tab
This is the content of the first tab.
<Tabs>
<Tab title="First Tab">
This is the content of the first tab.
</Tab>
<Tab title="Second Tab">
This is the content of the second tab.
</Tab>
<Tab title="Third Tab">
This is the content of the third tab.
</Tab>
</Tabs>
Tab
component follows Markdown syntax.Specifying Tab Position
第一个选项卡
第二个选项卡
第三个选项卡
这是第一个选项卡中的内容.
<Tabs tabPosition="left">
<Tab title="第一个选项卡">
这是第一个选项卡中的内容.
</Tab>
<Tab title="第二个选项卡">
这是第二个选项卡中的内容.
</Tab>
<Tab title="第三个选项卡">
这是第三个选项卡中的内容.
</Tab>
</Tabs>
Specifying Tab Size
第一个选项卡
第二个选项卡
第三个选项卡
这是第一个选项卡中的内容.
<Tabs size="small">
<Tab title="第一个选项卡">
这是第一个选项卡中的内容.
</Tab>
<Tab title="第二个选项卡">
这是第二个选项卡中的内容.
</Tab>
<Tab title="第三个选项卡">
这是第三个选项卡中的内容.
</Tab>
</Tabs>
Parameter Description
Tabs
type
string
optional
tabPosition
string
optional
size
string
optional
Tab
title
string
Title