Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / makeConsolePage

Function: makeConsolePage()

makeConsolePage(console, panel?): typeof ConsolePage

Defined in: admin/src/pages/ConsolePage.tsx:308

Build the page class for one console. A subclass per console — rather than one shared class resolving itself from the route — keeps the console on a static and matches how resource list pages are generated. The explicit name matters: Flow's component registry is keyed by constructor name.

Parameters

console

ConsoleContribution

panel?

PanelInstance = ...

Returns

typeof ConsolePage