docs: improve typing (#9362)

* docs: improve typing

* docs: upd
This commit is contained in:
neverland
2021-09-01 10:42:11 +08:00
committed by GitHub
parent 317035e9f5
commit f2eb7550a5
50 changed files with 471 additions and 51 deletions
+8
View File
@@ -69,6 +69,14 @@ app.use(Divider);
| ------- | ----------- |
| default | content |
### Types
The component exports the following type definitions:
```ts
import type { DividerContentPosition } from 'vant';
```
## Theming
### CSS Variables
+8
View File
@@ -79,6 +79,14 @@ app.use(Divider);
| ------- | ---- |
| default | 内容 |
### 类型定义
组件导出以下类型定义:
```ts
import type { DividerContentPosition } from 'vant';
```
## 主题定制
### 样式变量