You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

425 B

order title
2 图标

有图标的标签。

import { Tabs, Icon } from 'antd';
const TabPane = Tabs.TabPane;

ReactDOM.render(
  <Tabs defaultActiveKey="2">
    <TabPane tab={<span><Icon type="apple" />选项卡一</span>} key="1">
      选项卡一
    </TabPane>
    <TabPane tab={<span><Icon type="android" />选项卡二</span>} key="2">
      选项卡二
    </TabPane>
  </Tabs>
, mountNode);