ant-design-vue/components/divider/demo/index.vue

45 lines
1.0 KiB
Vue
Raw Normal View History

2018-01-30 10:22:41 +00:00
<script>
2019-01-12 03:33:27 +00:00
import Horizontal from './horizontal';
import Vertical from './vertical';
import Orientation from './orientation';
import CN from '../index.zh-CN.md';
import US from '../index.en-US.md';
2018-01-30 10:22:41 +00:00
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.
2018-03-20 13:48:01 +00:00
- Divide inline text and links such as the operation column of table.
## Examples
`,
2019-01-12 03:33:27 +00:00
};
2018-01-30 10:22:41 +00:00
export default {
2018-03-20 13:48:01 +00:00
category: 'Components',
type: 'Other',
2018-11-30 14:58:46 +00:00
zhType: '其他',
2018-03-20 13:48:01 +00:00
title: 'Divider',
subtitle: '分割线',
2019-09-28 12:45:07 +00:00
render() {
2018-01-30 10:22:41 +00:00
return (
<div>
2019-09-28 12:45:07 +00:00
<md cn={md.cn} us={md.us} />
2018-01-30 10:22:41 +00:00
<Vertical />
<Horizontal />
2018-04-07 06:29:59 +00:00
<Orientation />
2018-01-30 10:22:41 +00:00
<api>
2019-09-28 12:45:07 +00:00
<CN slot="cn" />
<US />
2018-01-30 10:22:41 +00:00
</api>
</div>
2019-01-12 03:33:27 +00:00
);
2018-01-30 10:22:41 +00:00
},
2019-01-12 03:33:27 +00:00
};
2018-01-30 10:22:41 +00:00
</script>