Tabs
component allows you to combine multiple Tab
components together, where different tabs can be switched.<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.<Tabs tabPosition="left">
<Tab title="第一个选项卡">
这是第一个选项卡中的内容.
</Tab>
<Tab title="第二个选项卡">
这是第二个选项卡中的内容.
</Tab>
<Tab title="第三个选项卡">
这是第三个选项卡中的内容.
</Tab>
</Tabs>
<Tabs size="small">
<Tab title="第一个选项卡">
这是第一个选项卡中的内容.
</Tab>
<Tab title="第二个选项卡">
这是第二个选项卡中的内容.
</Tab>
<Tab title="第三个选项卡">
这是第三个选项卡中的内容.
</Tab>
</Tabs>