Skip to content

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

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

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

export const Free: Story = {
  args: { rateLimit: docsContentFor("free").rateLimit },
};

export const Pro: Story = {
  args: { rateLimit: docsContentFor("pro").rateLimit },
};

export const Enterprise: Story = {
  args: { rateLimit: docsContentFor("enterprise").rateLimit },
};