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>
17 lines
567 B
TypeScript
17 lines
567 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
import { CreateAPIKeyModal } from './CreateAPIKeyModal';
|
|
import { fn } from 'storybook/test';
|
|
|
|
const meta: Meta<typeof CreateAPIKeyModal> = {
|
|
title: 'Components/Features/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' };
|