import type { Meta, StoryObj } from '@storybook/react';
import { CreateAPIKeyModal } from './CreateAPIKeyModal';
import { fn } from '@storybook/test';

const meta: Meta<typeof CreateAPIKeyModal> = {
    title: 'Components/Developer/Modals/CreateAPIKeyModal',
    component: CreateAPIKeyModal,
    parameters: { layout: 'centered' },
    tags: ['autodocs'],
    args: { onClose: fn() },
};

export default meta;
type Story = StoryObj<typeof meta>;

export const Default: Story = { name: 'Par défaut' };
export const Created: Story = { name: 'Clé créée' };
