veza/apps/web/src/components/search/GlobalSearchBar.stories.tsx
2026-02-03 09:56:11 +01:00

23 lines
693 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react';
import { GlobalSearchBar } from './GlobalSearchBar';
const meta: Meta<typeof GlobalSearchBar> = {
title: 'Components/Search/GlobalSearchBar',
component: GlobalSearchBar,
parameters: { layout: 'centered' },
tags: ['autodocs'],
decorators: [
(Story) => (
<div className="bg-kodo-background p-8 w-96">
<Story />
</div>
),
],
};
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = { name: 'Par défaut' };
export const Focused: Story = { name: 'Focus' };
export const WithSuggestions: Story = { name: 'Avec suggestions' };