|
@ -9,11 +9,12 @@ |
|
|
````jsx |
|
|
````jsx |
|
|
var Tabs = antd.Tabs; |
|
|
var Tabs = antd.Tabs; |
|
|
var TabPane = Tabs.TabPane; |
|
|
var TabPane = Tabs.TabPane; |
|
|
|
|
|
var Icon = antd.Icon; |
|
|
|
|
|
|
|
|
var tabContent = [ |
|
|
var tabContent = [ |
|
|
<span><i className="anticon anticon-apple"></i>选项卡一</span>, |
|
|
<span><Icon type="apple" />选项卡一</span>, |
|
|
<span><i className="anticon anticon-android"></i>选项卡二</span>, |
|
|
<span><Icon type="android" />选项卡二</span>, |
|
|
<span><i className="anticon anticon-lock"></i>选项卡三</span>, |
|
|
<span><Icon type="lock" />选项卡三</span>, |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
React.render( |
|
|
React.render( |
|
|