2026-02-03 08:56:11 +00:00
|
|
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
|
import { CreateAPIKeyModal } from './CreateAPIKeyModal';
|
feat(web): update all features, stories, e2e tests, and auth interceptor
Update auth, playlists, tracks, search, profile, dashboard, player,
settings, and social features. Add e2e audit specs for all major pages.
Update ESLint config, vitest config, and route configuration.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 17:16:36 +00:00
|
|
|
import { fn } from 'storybook/test';
|
2026-02-03 08:56:11 +00:00
|
|
|
|
|
|
|
|
const meta: Meta<typeof CreateAPIKeyModal> = {
|
2026-02-05 13:20:06 +00:00
|
|
|
title: 'Components/Features/Developer/Modals/CreateAPIKeyModal',
|
2026-02-03 08:56:11 +00:00
|
|
|
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' };
|