class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
✌️ 这里是只在第二个标签页中的内容。这个还带有一个 图标!
💪 这里是只在第三个标签页中的内容。
Tabs example
报告错误代码
复制
询问AI
<Tabs> <Tab title="第一个标签页"> ☝️ 欢迎来到只能在第一个标签页中看到的内容。 你可以在选项卡中添加任意数量的组件。例如,一个代码块: ```java HelloWorld.java class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` </Tab> <Tab title="Second tab" icon="leaf"> ✌️ Here's content that's only inside the second tab. This one has a <Icon icon="leaf" /> icon! </Tab> <Tab title="Third tab"> 💪 Here's content that's only inside the third tab. </Tab></Tabs>