docs: add docs for carousel and config-provider (#8)
* docs: add docs for carousel and config-provider
This commit is contained in:
22
one/docs/components/config-provider.md
Normal file
22
one/docs/components/config-provider.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# ConfigProvider <small>配置器</small>
|
||||
|
||||
## 示例
|
||||
|
||||
### 配置 `Select` 的 `placeholder`
|
||||
|
||||
[[ demo src="/demo/config-provider/select.vue" ]]
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### 属性
|
||||
|
||||
| 名称 | 类型 | 默认值 | 描述 |
|
||||
| -- | -- | -- | -- |
|
||||
| `value` | `Object` | - | 向其后代组件提供的配置值。 |
|
||||
|
||||
### 插槽
|
||||
|
||||
| 名称 | 描述 |
|
||||
| -- | -- |
|
||||
| `default` | 需要接收配置的内容,其中 VEUI 的组件会响应对应的配置值。 |
|
||||
Reference in New Issue
Block a user