Skip to content

ConnectExpired

Shown when the request is gone, and the customer has to start over.

import { ConnectExpired } from "@evolve-storefront/feature-mcp-connect/connect-expired";

Preview

DefaultOpen in Storybook ↗

Usage

The request is gone.

const consent = await connectFlow()?.readConsent(await cookies());
if (!consent) return <ConnectExpired />;

Props

PropTypeDescription
headingLevel?HeadingLevel

Document level of the title. Defaults to 1, as the screen is a page.

children?ReactNode

Shown below the explanation, such as a link back to the shop.

Any other props go to the root element, like on a plain HTML element.