Interface ITableOfContentsItemsProps

Interface describing component properties.

interface ITableOfContentsItemsProps {
    heading: TableOfContents.IHeading;
    isActive: boolean;
    onCollapse: ((heading) => void);
    onMouseDown: ((heading) => void);
}

Properties

Heading to render.

isActive: boolean

Whether this item is active or not.

onCollapse: ((heading) => void)

Collapse/Expand event callback.

Type declaration

onMouseDown: ((heading) => void)

On mouse-down event callback.

Type declaration