Skip to content

Commit aa40492

Browse files
committed
Allow minDetail to be passed along in calendarProps
1 parent 2d4eda8 commit aa40492

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/DateTimePicker.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ type DateTimePickerProps = {
9999
value?: LooseValue;
100100
yearAriaLabel?: string;
101101
yearPlaceholder?: string;
102-
} & Omit<
103-
React.ComponentPropsWithoutRef<typeof Calendar>,
104-
'className' | 'maxDetail' | 'minDetail' | 'onChange'
105-
> &
102+
} & Omit<React.ComponentPropsWithoutRef<typeof Calendar>, 'className' | 'maxDetail' | 'onChange'> &
106103
Omit<React.ComponentPropsWithoutRef<typeof Clock>, 'value'>;
107104

108105
export default function DateTimePicker(props: DateTimePickerProps) {

0 commit comments

Comments
 (0)