UNPKG

mui-rff

Version:

Set of modern wrapper components to facilitate using Material UI with React Final Form

14 lines (13 loc) 614 B
import { TextFieldProps } from '@mui/material/TextField'; import { DateTimePickerProps as MuiDateTimePickerProps } from '@mui/x-date-pickers'; import { FieldProps } from 'react-final-form'; import { ShowErrorFunc } from './Util'; export interface DateTimePickerProps extends Partial<Omit<MuiDateTimePickerProps, 'onChange'>> { fieldProps?: Partial<FieldProps<any, any>>; locale?: any; name: string; required?: boolean; showError?: ShowErrorFunc; textFieldProps?: TextFieldProps; } export declare function DateTimePicker(props: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;