Skip to content

Commit 7269bf0

Browse files
committed
Rearrange inputprops def
1 parent 1d901f7 commit 7269bf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/Pickers.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export type PickerProps = CommonInputProps & {
66
format?: (val: string | Date) => string | Date | number;
77
onClose?: (val: string) => void;
88
onOpen?: (val: string) => void;
9+
parse?: (val: string) => string | Date | number;
910
pickerOptions?: {
1011
[x: string]: any;
1112
};
12-
parse?: (val: string) => string | Date | number;
1313
PickerComponent: typeof MobileDatePicker | typeof MobileTimePicker | typeof MobileDateTimePicker;
1414
size?: string;
1515
stringFormat?: string;

src/components/Pickers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export type PickerProps = CommonInputProps & {
1515
format?: (val: string | Date) => string | Date | number;
1616
onClose?: (val: string) => void;
1717
onOpen?: (val: string) => void;
18-
pickerOptions?: { [x: string]: any };
1918
parse?: (val: string) => string | Date | number;
19+
pickerOptions?: { [x: string]: any };
2020
PickerComponent: typeof MobileDatePicker | typeof MobileTimePicker | typeof MobileDateTimePicker;
2121
size?: string;
2222
stringFormat?: string;

0 commit comments

Comments
 (0)