Skip to main content

VideoUploadField

<VideoUploadField urlField="video.url" label="Video upload" />
VideoUploadFieldProps
VideoUploadFieldProps
Intersection of
PublicSingleKindUploadFieldProps
PublicSingleKindUploadFieldProps
Intersection of
CommonFileKindProps
CommonFileKindProps
Intersection of
PublicFileKind
PublicFileKind
Intersection of
Partial
InternalFileKind
InternalFileKind
acceptFile
| undefined| (options: AcceptFileOptions) => | boolean| Promise<AcceptArtifacts>
acceptMimeTypes
| null| string| string[]
baseEntity
string
children
React.ReactNode
childrenOutsideBaseEntity
boolean
renderFilePreview
(options: RenderFilePreviewOptions<AcceptArtifacts>) => React.ReactNode
renderUploadedFile
React.ReactNode
uploader
FileUploader<S3FileUploader.SuccessMetadata, FileUploadError>
FileUrlDataExtractorProps
FileUrlDataExtractorProps
urlField*
| string| SugaredRelativeSingleField
GenericFileMetadataExtractorProps
GenericFileMetadataExtractorProps
fileNameField
| string| SugaredRelativeSingleField
fileSizeField
| string| SugaredRelativeSingleField
fileTypeField
| string| SugaredRelativeSingleField
lastModifiedField
| string| SugaredRelativeSingleField
CommonFileKindProps
additionalExtractors
FileDataExtractor<unknown, S3FileUploader.SuccessMetadata, AcceptArtifacts>[]
SelectFileInputSelectionComponentProps
SelectFileInputSelectionComponentProps
fileSelectionComponent
React.ComponentType<& SFExtraProps& FileSelectionProps>
fileSelectionLabel
React.ReactNode
fileSelectionProps
SFExtraProps
FileInputPublicProps
FileInputPublicProps
Intersection of
Pick
FieldContainerProps
FieldContainerProps
Intersection of
FieldContainerProps
description
React.ReactNode
label*
React.ReactNode
labelDescription
React.ReactNode
ErrorListProps
AddEntityButtonProps
AddEntityButtonProps
addButtonComponent
React.ComponentType<any>
addButtonComponentExtraProps
addButtonProps
CreateNewEntityButtonProps
addButtonText
React.ReactNode
SelectFileInputPublicProps
SelectFileInputPublicProps
Intersection of
SelectEntityButtonProps
SelectEntityButtonProps
selectButtonComponent
React.ComponentType<any>
selectButtonComponentExtraProps
selectButtonProps
CreateNewEntityButtonProps
selectButtonText
React.ReactNode
SelectFileInputPublicProps
insertSelectedText
string
FileInputPublicProps
addButtonSubText
React.ReactNode
enableAddingNew
boolean
VideoFileDataExtractorProps
VideoFileDataExtractorProps
durationField
| string| SugaredRelativeSingleField
heightField
| string| SugaredRelativeSingleField
widthField
| string| SugaredRelativeSingleField