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

45 lines
1.0 KiB

7 years ago
<script>
import Horizontal from './horizontal'
import Vertical from './vertical'
7 years ago
import Orientation from './orientation'
7 years ago
import CN from '../index.zh-CN.md'
import US from '../index.en-US.md'
const md = {
cn: `# 分割线
区隔内容的分割线
## 何时使用
- 对不同章节的文本段落进行分割
- 对行内文字/链接进行分割例如表格的操作列
7 years ago
## 代码演示`,
us: `# Divider
A divider line separates different content.
## When To Use
- Divide sections of article.
7 years ago
- Divide inline text and links such as the operation column of table.
## Examples
`,
7 years ago
}
export default {
7 years ago
category: 'Components',
type: 'Other',
zhType: '其他',
7 years ago
title: 'Divider',
subtitle: '分割线',
7 years ago
render () {
return (
<div>
<md cn={md.cn} us={md.us}/>
<Vertical />
<Horizontal />
7 years ago
<Orientation />
7 years ago
<api>
<CN slot='cn' />
<US/>
</api>
</div>
)
},
}
</script>