import type { Meta, StoryObj } from "@storybook/react";
import Component from "./InfoPage";
import InfoPage from "./InfoPage";

const meta: Meta<typeof Component> = {
  title: "Components/InfoPage",
  component: Component,
};

export default meta;

type Story = StoryObj<typeof Component>;

export const Default: Story = {
  render: () => (
    <InfoPage title="Info Page" subtitle="Example subtitle">
      <div className="info-page__card">
        <h2>Section</h2>
        <p>This is example content for the info page.</p>
      </div>
    </InfoPage>
  ),
  args: {},
};
