3p-core v2.1.4
3p-core / IVersionHistoryProps
Interface: IVersionHistoryProps
Props for the VersionHistoryForm component.
Properties
Property | Type | Description |
---|
itemId | number | The ID of the list item whose version history should be displayed. |
listName | string | The display name of the SharePoint list to fetch version history from. |
onDismiss | () => void | Callback fired when the panel is dismissed. |
sp | SPFI | PnPjs SPFI instance used to retrieve list metadata (e.g., list ID). |
webPartContext | WebPartContext | SPFx web part context, required for retrieving the item's version page and user context. |