You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used to create custom item elements in the container.
<FileUpload itemTemplate={customItemTemplate} ... />
const customItemTemplate = (file, props) => {
// file: Current file object.
// options.onRemove: Event used to remove current file in the container.
// options.previewElement: The default preview element in the container.
// options.fileNameElement: The default fileName element in the container.
// options.sizeElement: The default size element in the container.
// options.removeElement: The default remove element in the container.
// options.formatSize: The formated size of file.
// options.element: Default element created by the component.
// options.props: component props
}
The text was updated successfully, but these errors were encountered:
Used to create custom item elements in the container.
The text was updated successfully, but these errors were encountered: