Interface: PageComponentProps
Makaio Framework / contracts / PageComponentProps
Interface: PageComponentProps
Section titled “Interface: PageComponentProps”Defined in: ../../../packages/contracts/src/extension/contributions/page-types.ts:27
Props passed to all page components.
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Defined in: ../../../packages/contracts/src/extension/contributions/page-types.ts:29
Optional CSS class name for the page container.
internalRoute?
Section titled “internalRoute?”
optionalinternalRoute?:string|null
Defined in: ../../../packages/contracts/src/extension/contributions/page-types.ts:31
Current internal route within the page.
onNavigate?
Section titled “onNavigate?”
optionalonNavigate?: (route) =>void
Defined in: ../../../packages/contracts/src/extension/contributions/page-types.ts:36
Callback for internal navigation within the page.
Parameters
Section titled “Parameters”string
The new internal route path.
Returns
Section titled “Returns”void