Kottster Packages API Reference
Preparing search index...
@kottster/react
usePage
Function usePage
usePage
()
:
{
page
:
PublicPage
|
undefined
;
pageKey
:
string
|
undefined
}
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.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Kottster Packages API Reference
Loading...
Hook to get the current page details.