import { PropertyValueProps, RHFTextFieldProps, PaperFormProps } from '@m4l/components'; interface PropertyValueFieldBase extends Pick { name: string; type: 'RHFTextField' | 'component'; label?: string; mandatory?: boolean; helperMessage?: string; } interface PropertyValueRHFTextField extends PropertyValueFieldBase, Pick { type: 'RHFTextField'; readOnly?: boolean; disabled?: boolean; textFieldType?: React.InputHTMLAttributes['type']; } export interface PropertyValueOtherComponent> extends PropertyValueFieldBase { type: 'component'; component: T; componentProps: React.ComponentProps; } export type PropertyValueField = PropertyValueRHFTextField | PropertyValueOtherComponent; export type UseDynamicPaperFormProps = { fields: PropertyValueField[]; title: string; urlIcon: string; isForm: boolean; height?: PaperFormProps['height']; variant?: PaperFormProps['variant']; }; export {}; //# sourceMappingURL=types.d.ts.map