2018-03-01 04:34:31 +00:00
|
|
|
<script>
|
2019-01-12 03:33:27 +00:00
|
|
|
import Basic from './basic';
|
|
|
|
import CertainCategory from './certain-category';
|
|
|
|
import Custom from './custom';
|
|
|
|
import NonCaseSensitive from './non-case-sensitive';
|
|
|
|
import Options from './options';
|
|
|
|
import UncertainCategory from './uncertain-category';
|
2018-03-01 04:34:31 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
import CN from '../index.zh-CN.md';
|
|
|
|
import US from '../index.en-US.md';
|
2018-03-01 04:34:31 +00:00
|
|
|
const md = {
|
|
|
|
cn: `# AutoComplete 自动完成
|
|
|
|
输入框自动完成功能。
|
|
|
|
## 何时使用
|
|
|
|
需要自动完成时。
|
|
|
|
## 代码演示`,
|
|
|
|
us: `# AutoComplete
|
|
|
|
Autocomplete function of input field.
|
|
|
|
## When To Use
|
|
|
|
When there is a need for autocomplete functionality.
|
2018-11-28 02:35:37 +00:00
|
|
|
## Examples
|
2018-03-01 04:34:31 +00:00
|
|
|
`,
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-03-01 04:34:31 +00:00
|
|
|
export default {
|
2018-03-20 13:48:01 +00:00
|
|
|
category: 'Components',
|
|
|
|
subtitle: '自动完成',
|
|
|
|
type: 'Data Entry',
|
2018-11-28 02:35:37 +00:00
|
|
|
zhType: '数据录入',
|
2018-03-20 13:48:01 +00:00
|
|
|
cols: 2,
|
|
|
|
title: 'AutoComplete',
|
2019-09-28 12:45:07 +00:00
|
|
|
render() {
|
2018-03-01 04:34:31 +00:00
|
|
|
return (
|
|
|
|
<div>
|
2019-09-28 12:45:07 +00:00
|
|
|
<md cn={md.cn} us={md.us} />
|
|
|
|
<Basic />
|
|
|
|
<CertainCategory />
|
|
|
|
<Custom />
|
|
|
|
<NonCaseSensitive />
|
|
|
|
<Options />
|
|
|
|
<UncertainCategory />
|
2018-03-01 04:34:31 +00:00
|
|
|
<api>
|
2019-09-28 12:45:07 +00:00
|
|
|
<CN slot="cn" />
|
|
|
|
<US />
|
2018-03-01 04:34:31 +00:00
|
|
|
</api>
|
|
|
|
</div>
|
2019-01-12 03:33:27 +00:00
|
|
|
);
|
2018-03-01 04:34:31 +00:00
|
|
|
},
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-03-01 04:34:31 +00:00
|
|
|
</script>
|