Skip to content

Variable: Dashboard

Examples / @xmachines/play-react-demo / Dashboard

const Dashboard: ComponentFn<AuthCatalog, "Dashboard">;

Defined in: packages/play-react/examples/demo/src/components/Dashboard.tsx:12

Dashboard — Protected authenticated home

Uses ComponentFn<AuthCatalog, “Dashboard”> for catalog-typed props. Emits “logout” to trigger the auth.logout event via PlayRenderer actions map. Navigation is handled by HeaderNav — this component only handles auth actions.