react-pdf-highlighter-plus
interface OutlineItemProps {
    classNames?: OutlineItemClassNames;
    currentPage: number;
    defaultExpanded?: boolean;
    item: ProcessedOutlineItem;
    maxDepth?: number;
    onNavigate: ((item) => void);
    renderItem?: ((item, props) => ReactNode);
    showExpandIcons?: boolean;
    styles?: OutlineItemStyles;
}

Properties

Custom class names for the item (Tailwind-friendly)

currentPage: number
defaultExpanded?: boolean
maxDepth?: number
onNavigate: ((item) => void)

Type declaration

renderItem?: ((item, props) => ReactNode)

Type declaration

showExpandIcons?: boolean

Custom styles for the item