Render items recursively inside the TOC component, rather than the toc-item component, so that we can make use of global data and not have to pass information down.
Fix the behaviour of the high-level "expanded" component.
Allow customised expanded attribute on a per-item basis.
Render items recursively inside the TOC component, rather than the toc-item component, so that we can make use of global data and not have to pass information down.
Fix the behaviour of the high-level "expanded" component.
Allow customised expanded attribute on a per-item basis.