2018-01-30 10:22:41 +00:00
|
|
|
|
<script>
|
|
|
|
|
import Horizontal from './horizontal'
|
|
|
|
|
import Vertical from './vertical'
|
|
|
|
|
import CN from '../index.zh-CN.md'
|
|
|
|
|
import US from '../index.en-US.md'
|
|
|
|
|
const md = {
|
|
|
|
|
cn: `# 分割线
|
|
|
|
|
区隔内容的分割线。
|
|
|
|
|
## 何时使用
|
|
|
|
|
- 对不同章节的文本段落进行分割。
|
|
|
|
|
- 对行内文字/链接进行分割,例如表格的操作列。
|
2018-02-27 04:14:29 +00:00
|
|
|
|
|
2018-01-30 10:22:41 +00:00
|
|
|
|
## 代码演示`,
|
|
|
|
|
us: `# Divider
|
|
|
|
|
A divider line separates different content.
|
|
|
|
|
## When To Use
|
|
|
|
|
- Divide sections of article.
|
|
|
|
|
- Divide inline text and links such as the operation column of table.`,
|
|
|
|
|
}
|
|
|
|
|
export default {
|
|
|
|
|
render () {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<md cn={md.cn} us={md.us}/>
|
|
|
|
|
<Vertical />
|
|
|
|
|
<Horizontal />
|
|
|
|
|
<api>
|
|
|
|
|
<CN slot='cn' />
|
|
|
|
|
<US/>
|
|
|
|
|
</api>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|