| 123456789101112131415 |
- import type { PickerCancelEventParams, PickerChangeEventParams, PickerColumn, PickerConfirmEventParams, PickerInstance, PickerOption, PickerProps } from 'vant';
- declare global {
- declare type VantPickEmits = {
- 'update:modelValue': [$event: string[]];
- confirm: [$event: PickerConfirmEventParams];
- cancel: [$event: PickerCancelEventParams];
- change: [$event: PickerChangeEventParams];
- 'click-option': [$event: PickerChangeEventParams & { currentOption: PickerOption }];
- };
- declare type VantPickProps = Partial<PickerProps & EmitsToProps<VantPickEmits>>;
- declare type VantPickerInstance = PickerInstance;
- declare type VantPickerColumn = PickerColumn;
- }
|