We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83e137 commit 88fea7bCopy full SHA for 88fea7b
packages/react-vant/src/components/picker/README.md
@@ -118,13 +118,13 @@ export type PickerColumn<T = PickerColumnOption> = (string | T)[];
118
119
### 类型定义
120
121
-通过 `PickerInstance` 获取 Picker 实例的类型定义。
+通过 `PickerPopupActions` 获取 Picker 实例的类型定义。
122
123
```ts
124
import { useRef } from 'react';
125
-import type { PickerInstance } from 'react-vant';
+import type { PickerPopupActions } from 'react-vant';
126
127
-const pickerRef = useRef<PickerInstance>();
+const pickerRef = useRef<PickerPopupActions>();
128
129
pickerRef.current?.open();
130
```
0 commit comments