docs(combo-list): add document of combo-list

This commit is contained in:
Sagi 2022-10-07 22:27:57 +08:00
parent 7d3077d01e
commit 7468366186
2 changed files with 32 additions and 2 deletions

View File

@ -2,6 +2,7 @@
import Accordion from '../../../components/accordion';
import Button from '../../../components/button';
import ButtonEdit from '../../../components/button-edit';
import ComboList from '../../../components/combo-list';
import RadioGroup from '../../../components/radio-group';
import Section from '../../../components/section';
import Switch from '../../../components/switch';
@ -18,7 +19,7 @@ export default {
// ...DefaultTheme,
...FarrisTheme,
enhanceApp({ app }) {
app.use(Accordion).use(Button).use(ButtonEdit).use(RadioGroup).use(Section).use(Switch).use(Tabs).use(Text);
app.use(Accordion).use(Button).use(ButtonEdit).use(ComboList).use(RadioGroup).use(Section).use(Switch).use(Tabs).use(Text);
registerComponents(app);
}
};

View File

@ -1 +1,30 @@
# Combo List
# Combo List 选择输入框
Combo List 组件提供下拉框形式选择枚举数据。
## 基本用法
:::demo
```vue
<script setup lang="ts">
import { ref } from 'vue';
</script>
<template>
<f-combo-list></f-combo-list>
</template>
```
:::
## 属性
| 属性名 | 类型 | 默认值 | 说明 |
| :----- | :------- | :----- | :------- |
| id | `string` | -- | 组件标识 |
## 插槽
::: tip
暂无内容
:::