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/antdv-demo/docs/mentions/demo/index.vue

51 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<script>
import Basic from './basic.md';
import Async from './async.md';
import Form from './form.md';
import Prefix from './prefix.md';
import Readonly from './readonly.md';
import Placement from './placement.md';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
const md = {
cn: `# Mentions 提及 (版本1.5.0+)
提及组件。
## 何时使用
- 用于在输入中提及某人或某事,常用于发布、聊天或评论功能。
## 代码演示`,
us: `# Mentions (Version: 1.5.0+)
Mention component.
## When To Use
- When need to mention someone or something.
## Examples `,
};
export default {
category: 'Components',
subtitle: '提及',
type: 'Data Entry',
title: 'Mentions',
render() {
return (
<div>
<md cn={md.cn} us={md.us} />
<demo-sort>
<Basic />
<Async />
<Form />
<Prefix />
<Readonly />
<Placement />
</demo-sort>
<api>
<CN slot="cn" />
<US />
</api>
</div>
);
},
};
</script>