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.
ant-design-vue/components/icon/demo/index.vue

50 lines
1.2 KiB

7 years ago
<script>
import IconDisplay from '@/site/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';
7 years ago
const md = {
cn: `# 图标 Icon
语义化的矢量图形
## 设计师专属
安装 [Kitchen Sketch 插件 <EFBFBD>](https://kitchen.alipay.com),就可以一键拖拽使用 Ant Design 和 Iconfont 的海量图标,还可以关联自有项目。
## 图标列表
> 点击图标即可复制代码
新版图标可能略有缺失我们还在持续补充中
7 years ago
`,
us: `# Icon
Semantic vector graphics.
## List of icons
> Click the icon and copy the code.
We are still adding two-tone icons right now.
7 years ago
`,
};
7 years ago
export default {
7 years ago
category: 'Components',
type: 'General',
zhType: '通用',
7 years ago
title: 'Icon',
subtitle: '图标',
render() {
7 years ago
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>
7 years ago
</div>
);
7 years ago
},
};
7 years ago
</script>