import type { Meta, StoryObj } from "@storybook/react";
import Page from "./page";

const meta: Meta<typeof Page> = {
  title: "Pages/storefront/[accountId]/pay",
  component: Page,
};

export default meta;

type Story = StoryObj<typeof Page>;

export const Default: Story = {
  render: () => {
    globalThis.__STORYBOOK_SEARCH_PARAMS__ = { productId: "prod_123" };
    return <Page params={{ accountId: "storeshifted" }} />;
  },
};
