Browse Source

chore: 迁移 tabs iconfont

pull/361/head
elrrrrrrr 9 years ago
parent
commit
b7a922a895
  1. 7
      components/tabs/demo/icon.md

7
components/tabs/demo/icon.md

@ -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(

Loading…
Cancel
Save