ReferencesOptions

PropTypeDescription
display'none' | 'end' = 'end'Display mode for the references. References can either be displayed after the response or not displayed at all.
getHref(reference: FileSectionReference) => string | undefinedCallback to transform a reference into an href
getLabel(reference: FileSectionReference) => string | undefinedCallback to transform a reference into a label
headingstring = "Related articles"Heading above the references
loadingTextstringLoading text, default: `Fetching context…`
transformReferenceId(referenceId: string) => { href: string; text: string; }Callback to transform a reference id into an href and text