Optional
classThe footnotes to display (typically from JSX). See FootnoteItemProps.footnote
Optional
formatA function that can interpret the two special footnote caller codes defined by USFM, +
and
-
in order to display (or suppress display of) a meaningful caller in the context where this
is being used.
Optional
layoutDetermines how footnotes are displayed:
'horizontal'
: caller and reference appear in a leading-aligned column, with the contents in a
second column (typically used in a wide pane below the text).'vertical'
: caller and reference appear on the first line, with the contents displayed
beneath (typically used side-by-side with the text).ID provided by the caller that should change whenever the list changes (due to additions, deletions or — unlikely — reordering) )
Optional
onCallback to handle clicking/selecting a footnote in the list
Optional
selectedThe currently selected footnote (or undefined if none)
Optional
showFlag indicating whether to display USFM-style markers
Optional
suppressFlag indicating whether to suppress USFM-style formatting.
Optional additional class name for styling