diff --git a/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx b/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx index 0947faf8a5c..6d1f45aa6d9 100644 --- a/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx +++ b/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx @@ -62,7 +62,9 @@ export interface DateTimePickerProps onChange?: (value: DateValue) => void; /** TimeInput component props */ - timeInputProps?: TimeInputProps & { ref?: React.ComponentPropsWithRef<'input'>['ref'] }; + timeInputProps?: Omit & { + ref?: React.ComponentPropsWithRef<'input'>['ref']; + }; /** Props passed down to the submit button */ submitButtonProps?: ActionIconProps & React.ComponentPropsWithoutRef<'button'>;