Skip to content

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

652 B
Raw Blame
import type { Meta, StoryObj } from "@storybook/react-vite";
import { CreateKeyModal } from "@processor/components/infrastructure/CreateKeyModal";
import "@processor/components/infrastructure/infrastructure.css";

const meta: Meta<typeof CreateKeyModal> = {
  title: "Portal/Infrastructure/CreateKeyModal",
  component: CreateKeyModal,
  parameters: { layout: "fullscreen" },
  args: {
    open: true,
    onClose: () => console.log("close"),
    onCreated: () => console.log("created"),
  },
};
export default meta;
type Story = StoryObj<typeof CreateKeyModal>;

export const Form: Story = {};

export const Closed: Story = { args: { open: false } };