mui-rff
Version:
Set of modern wrapper components to facilitate using Material UI with React Final Form
14 lines (13 loc) • 590 B
TypeScript
import { TextFieldProps } from '@mui/material/TextField';
import { TimePickerProps as MuiTimePickerProps } from '@mui/x-date-pickers';
import { FieldProps } from 'react-final-form';
import { ShowErrorFunc } from './Util';
export interface TimePickerProps extends Partial<Omit<MuiTimePickerProps, 'onChange'>> {
fieldProps?: Partial<FieldProps<any, any>>;
locale?: any;
name: string;
required?: boolean;
showError?: ShowErrorFunc;
textFieldProps?: TextFieldProps;
}
export declare function TimePicker(props: TimePickerProps): import("react/jsx-runtime").JSX.Element;