mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
chore(Picker): move shared props (#8142)
This commit is contained in:
@@ -9,8 +9,7 @@ import { times, sharedProps, getTrueValue, getMonthEndDay } from './utils';
|
||||
import { useExpose } from '../composables/use-expose';
|
||||
|
||||
// Components
|
||||
import Picker from '../picker';
|
||||
import { pickerProps } from '../picker/shared';
|
||||
import Picker, { pickerProps } from '../picker';
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const [createComponent] = createNamespace('date-picker');
|
||||
|
@@ -8,8 +8,7 @@ import { times, sharedProps } from './utils';
|
||||
import { useExpose } from '../composables/use-expose';
|
||||
|
||||
// Components
|
||||
import Picker from '../picker';
|
||||
import { pickerProps } from '../picker/shared';
|
||||
import Picker, { pickerProps } from '../picker';
|
||||
|
||||
const [createComponent] = createNamespace('time-picker');
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { isNaN } from '../utils/validate/number';
|
||||
import { pickerProps } from '../picker/shared';
|
||||
import { pickerProps } from '../picker';
|
||||
|
||||
export const sharedProps = {
|
||||
...pickerProps,
|
||||
|
Reference in New Issue
Block a user