Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

667 B
Raw Blame
import type { Meta, StoryObj } from "@storybook/react-vite";
import { docsContentFor } from "@processor/mocks/docs";
import { ErrorsSection } from "@processor/components/docs/ErrorsSection";
import "@editor-core/components/docs/DeveloperDocs.css";

const meta: Meta<typeof ErrorsSection> = {
  title: "Portal/DeveloperDocs/ErrorsSection",
  component: ErrorsSection,
  parameters: { layout: "padded" },
  args: { errors: docsContentFor("pro").errors },
  decorators: [
    (S) => (
      <div style={{ maxWidth: "46rem" }}>
        <S />
      </div>
    ),
  ],
};
export default meta;
type Story = StoryObj<typeof ErrorsSection>;

export const Default: Story = {};