Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / PanelPageClass

Type Alias: PanelPageClass

PanelPageClass = () => object

Defined in: admin/src/plugin.ts:44

A page component class, structurally — a Flow Component subclass.

Typed as a bare zero-argument constructor on purpose. It's what Flow's router actually does with a page class, and it lets a contributing package hand one over without importing anything from @zerotal/admin. The panel gives the page its own layout when it mounts the route, so a contributed page renders only its content and inherits the panel's chrome.

Returns

object