Theme components

<GuiderSidebar />#

React component that will show the currently configured sidebar partial.

It respects the configured sidebar in the layout settings. Read more about partials.

Will show one of:

  • Nothing if the sidebar is set to be hidden.
  • The default sidebar with the configured settings.
  • The custom component if the sidebar has been overriden in the partials.

Example#

<div id="custom-sidebar">
  <GuiderSidebar />
</div>

Reference#

function GuiderSidebar(): ReactNode;