46 lines
1.1 KiB
Vue
46 lines
1.1 KiB
Vue
![]() |
<script>
|
|||
|
import IconDisplay from '../../../theme/template/IconDisplay';
|
|||
|
import Basic from './basic.md';
|
|||
|
import Custom from './custom.md';
|
|||
|
import Iconfont from './iconfont.md';
|
|||
|
import Twotone from './two-tone.md';
|
|||
|
|
|||
|
import CN from '../index.zh-CN.md';
|
|||
|
import US from '../index.en-US.md';
|
|||
|
const md = {
|
|||
|
cn: `# 图标 Icon
|
|||
|
语义化的矢量图形。
|
|||
|
## 设计师专属
|
|||
|
安装 [Kitchen Sketch 插件 <EFBFBD>](https://kitchen.alipay.com),就可以一键拖拽使用 Ant Design 和 Iconfont 的海量图标,还可以关联自有项目。
|
|||
|
## 图标列表
|
|||
|
`,
|
|||
|
us: `# Icon
|
|||
|
Semantic vector graphics.
|
|||
|
## List of icons
|
|||
|
`,
|
|||
|
};
|
|||
|
export default {
|
|||
|
category: 'Components',
|
|||
|
type: 'General',
|
|||
|
zhType: '通用',
|
|||
|
title: 'Icon',
|
|||
|
subtitle: '图标',
|
|||
|
render() {
|
|||
|
return (
|
|||
|
<div>
|
|||
|
<md class="api-container" cn={md.cn} us={md.us} />
|
|||
|
<IconDisplay class="markdown" />
|
|||
|
<Basic />
|
|||
|
<Custom />
|
|||
|
<Iconfont />
|
|||
|
<Twotone />
|
|||
|
<api>
|
|||
|
<CN slot="cn" />
|
|||
|
<US />
|
|||
|
</api>
|
|||
|
</div>
|
|||
|
);
|
|||
|
},
|
|||
|
};
|
|||
|
</script>
|