docs(combo-list): add document of combo-list
This commit is contained in:
parent
7d3077d01e
commit
7468366186
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -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
|
||||
暂无内容
|
||||
:::
|
||||
|
|
Loading…
Reference in New Issue