usePage
The usePage hook lets you easily retrieve the content of a page from React Bricks' APIs.
Signature
const usePage = (slug: string): types.IQueryResult<types.Page>
The only argument of this hook function is the slug string.
The usePage hook lets you easily retrieve the content of a page from React Bricks' APIs.
const usePage = (slug: string): types.IQueryResult<types.Page>
The only argument of this hook function is the slug string.