mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-14 10:34:06 +02:00
17 lines
570 B
TypeScript
17 lines
570 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { CreateKeyModal } from "@portal/components/infrastructure/CreateKeyModal";
|
|
import "@portal/views/Infrastructure.css";
|
|
|
|
const meta: Meta<typeof CreateKeyModal> = {
|
|
title: "Portal/Infrastructure/CreateKeyModal",
|
|
component: CreateKeyModal,
|
|
parameters: { layout: "fullscreen" },
|
|
args: { open: true, onClose: () => console.log("close") },
|
|
};
|
|
export default meta;
|
|
type Story = StoryObj<typeof CreateKeyModal>;
|
|
|
|
export const Form: Story = {};
|
|
|
|
export const Closed: Story = { args: { open: false } };
|