middag-react
    Preparing search index...

    Interface ContractPageProps

    Inertia props shape for ContractPage. overlay toggles a full-screen overlay. Pro props (help, inspector) are added by @middag-io/react-pro.

    interface ContractPageProps {
        contract: PageContract;
        overlay?: boolean;
        shellMode?: "full" | "content-only";
    }
    Index
    contract: PageContract
    overlay?: boolean

    When true, page renders in a full-screen overlay with X close.

    shellMode?: "full" | "content-only"

    Shell rendering mode:

    • "full" (default): resolve and mount the contract's shell around the layout — the standalone/self-contained rendering used by Inertia pages.
    • "content-only": render only EntityRoutesProvider + Layout, WITHOUT the shell. For hosts that mount a persistent shell once (e.g. a React Router layout route) and swap page content beneath it, avoiding the shell remount that flashes the sidebar on every navigation.