diff --git a/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx b/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx index beb7ca52ee7..a1bb3118638 100644 --- a/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx +++ b/packages/@mantine/dates/src/components/DateTimePicker/DateTimePicker.tsx @@ -42,7 +42,10 @@ export type DateTimePickerStylesNames = export interface DateTimePickerProps extends BoxProps, - Omit, + Omit< + DateInputSharedProps, + 'classNames' | 'styles' | 'closeOnChange' | 'size' | 'valueFormatter' + >, Omit, Omit, StylesApiProps { @@ -215,6 +218,7 @@ export const DateTimePicker = factory((_props, ref) => { {...others} type="default" __staticSelector="DateTimePicker" + // valueFormatter={valueFormatter} >