docs(@vant/use): add useToggle doc

This commit is contained in:
chenjiahan
2020-10-05 08:53:13 +08:00
parent 0b05fa00aa
commit 90669560a4
4 changed files with 74 additions and 7 deletions
@@ -48,6 +48,6 @@ function useScrollParent(element: Ref<Element>): Ref<Element>;
### 返回值
| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ------------------ | --------------- | ------ |
| scrollParent | 最近的可滚动父元素 | _Ref\<Element>_ | - |
| 参数 | 说明 | 类型 |
| ------------ | ------------------ | --------------- |
| scrollParent | 最近的可滚动父元素 | _Ref\<Element>_ |