13 lines
675 B
TypeScript
13 lines
675 B
TypeScript
import * as React from 'react';
|
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
import type { UseFieldInternalProps } from '../hooks/useField';
|
|
import type { FieldSection } from '../../models';
|
|
export interface BaseFieldProps<TValue, TDate, TSection extends FieldSection, TError> extends Omit<UseFieldInternalProps<TValue, TDate, TSection, TError>, 'format'> {
|
|
className?: string;
|
|
format?: string;
|
|
disabled?: boolean;
|
|
ref?: React.Ref<HTMLDivElement>;
|
|
}
|
|
export interface FieldsTextFieldProps extends Omit<TextFieldProps, 'autoComplete' | 'error' | 'maxRows' | 'minRows' | 'multiline' | 'placeholder' | 'rows' | 'select' | 'SelectProps' | 'type'> {
|
|
}
|