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/comment/demo/index.vue

53 lines
1.1 KiB

<script>
import Basic from './basic';
import Editor from './editor';
import List from './list';
import Nested from './nested';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
const md = {
cn: `# Comment评论
对网站内容的反馈评价和讨论
## 何时使用
评论组件可用于对事物的讨论例如页面博客文章问题等等`,
us: `# Comment
A comment displays user feedback and discussion to website content.
## When To Use
Comments can be used to enable discussions on an entity such as a page, blog post, issue or other.`,
};
export default {
category: 'Components',
type: 'Data Display',
zhType: '数据展示',
title: 'Comment',
subtitle: '评论',
cols: 1,
render () {
return (
<div>
<md cn={md.cn} us={md.us}/>
<Basic/>
<br/>
<List/>
<br/>
<Nested/>
<br/>
<Editor/>
<br/>
<api>
<template slot='cn'>
<CN/>
</template>
<US/>
</api>
</div>
);
},
};
</script>