OptionalclassOptionaldefaultHow many levels start expanded. Defaults to 1 (top level only).
OptionalemptyShown when the document has no outline. Defaults to the localized noOutline string.
OptionalonCalled after a node is activated — e.g. to close a drawer on a phone.
Optionalstyle
Props for PdfOutlineTree.