Kottster Packages API Reference
    Preparing search index...

    Function usePage

    • Hook to get the current page details.

      Returns { page: PublicPage | undefined; pageKey: string | undefined }

      • page: PublicPage | undefined

        Current page details.

      • pageKey: string | undefined

        Current page key.