LibraryAttachments
@spartanfx/react / LibraryAttachments
Variable: LibraryAttachments
const
LibraryAttachments:React.FunctionComponent
<ILibraryAttachmentsProps
>
Renders a list of attachments from a SharePoint document library.
Supports uploading new files, renaming before upload, soft deletion, and filtering attachments by parent item ID and optional section.
Example
<LibraryAttachments
libraryName="ProjectDocuments"
lookupFieldName="ProjectId"
sectionFieldName="Section"
section="Planning"
disabled={false}
allowMultiple
/>