docs: add docs for carousel and config-provider (#8)

* docs: add docs for carousel and config-provider
This commit is contained in:
xdm
2021-09-15 19:04:39 +08:00
committed by GitHub
parent 5878fe4ac9
commit 1b98a996ff
11 changed files with 727 additions and 373 deletions

View File

@@ -0,0 +1,22 @@
# ConfigProvider <small>配置器</small>
## 示例
### 配置 `Select` 的 `placeholder`
[[ demo src="/demo/config-provider/select.vue" ]]
## API
### 属性
| 名称 | 类型 | 默认值 | 描述 |
| -- | -- | -- | -- |
| `value` | `Object` | - | 向其后代组件提供的配置值。 |
### 插槽
| 名称 | 描述 |
| -- | -- |
| `default` | 需要接收配置的内容,其中 VEUI 的组件会响应对应的配置值。 |