bslibreact (JavaScript) - v0.1.0
    Preparing search index...

    Function usePageBody

    • page_react() renders a bare , but bslib's page_*() functions put fill classes and an inline padding/gap style on itself, so the page components set them here. A fillable page (page_fillable(), and page_sidebar() and page_navbar(), which build on it, except a non-fillable page_navbar() with no sidebar) also adds html { height: 100% } to ; without it the fill chain has no height to measure against. fillHeight adds that rule, once per page.

      Parameters

      • classes: string
      • style: Record<string, string> = {}
      • fillHeight: boolean = true

      Returns void