pageFrame

tcmts.share.pageFrame · #gef7shal · term · runs anywhere

The frame every page is drawn in, if an app showing the forge's pages has its own (the registry: its header, not a project's): set once, as that app's pages start.

import type { Tab } from "#codebase/tcmts/share";
import type { ReactNode } from "react";

export const pageFrame: {
  current?: (p: { tab: Tab | ""; title: string; children: ReactNode }) => ReactNode;
} = {}

uses

used by