The props object.
Interface representing props for the IFileField component.
Optionaldescription?: stringType definition for the PickProp function.
Extracts a specific property description from a given object type IField<Data, Payload>.
Optionaldisabled?: booleanRepresents the "disabled" property of a field.
OptionalfileAccept?: stringRepresents the fileAccept property of a field.
OptionalgroupRef?: (element?: null | HTMLDivElement) => voidRepresents a reference to a group within a field.
OptionalinputRef?: (element?: null | HTMLInputElement) => voidRepresents the input reference associated with a field in a specific data payload.
Optionaloutlined?: booleanPicks the "outlined" property from a given object type.
Optionalplaceholder?: stringType definition for the placeholder property of a field.
Optionalreadonly?: booleanRetrieves the value of the "readonly" property from the provided object.
Optionaltitle?: stringType definition for the 'title' property of the PickProp utility.
Optionaltr?: The translate label for FieldType.File
Optionalupload?: (file: File, data: Data, payload: Payload) => string | Promise<string>Represents the 'upload' property of a given object.
Optionalvalidation?: IValidationValidation factory config
Optionalview?: (file: string, data: Data, payload: Payload) => void | Promise<void>This variable represents a property 'view' extracted from an object of type PickProp<IField<Data, Payload>, 'view'>. The 'view' property is used to specify a specific view for processing fields.
The 'IField' type is a generic type that takes two type parameters: 'Data' and 'Payload'. It represents a field in a form, with 'Data' representing the data type of the field value , and 'Payload' representing additional payload data associated with the field.
The 'PickProp' utility type is used to extract the 'view' property from the 'IField' type.
Interface representing a private file field.
FileField component.