mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
chore(Picker): move shared props (#8142)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/* eslint-disable no-use-before-define */
|
||||
import { ref, watch, reactive, PropType } from 'vue';
|
||||
import { PICKER_KEY } from './shared';
|
||||
|
||||
// Utils
|
||||
import { deepClone } from '../utils/deep-clone';
|
||||
@@ -29,6 +28,8 @@ function getElementTranslateY(element: Element) {
|
||||
return Number(translateY);
|
||||
}
|
||||
|
||||
export const PICKER_KEY = 'vanPicker';
|
||||
|
||||
export type PickerObjectOption = {
|
||||
text?: string;
|
||||
disabled?: boolean;
|
||||
|
Reference in New Issue
Block a user