veza/apps/web/src/features/auth/components/AuthLayout.stories.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-02-03 08:56:11 +00:00
import type { Meta, StoryObj } from '@storybook/react';
import { AuthLayout } from './AuthLayout';
const meta: Meta<typeof AuthLayout> = {
title: 'Components/Features/Auth/AuthLayout',
2026-02-03 08:56:11 +00:00
component: AuthLayout,
parameters: {
layout: 'fullscreen',
},
tags: ['autodocs'],
};
export default meta;
type Story = StoryObj<typeof AuthLayout>;
export const Default: Story = {
args: {
title: 'Welcome Back',
subtitle: 'Please sign in to continue',
children: (
<div className="space-y-4">
<div className="h-10 bg-muted rounded w-full border border-border flex items-center px-3 text-muted-foreground">Email</div>
<div className="h-10 bg-muted rounded w-full border border-border flex items-center px-3 text-muted-foreground">Password</div>
<div className="h-10 bg-primary rounded w-full flex items-center justify-center text-foreground">Sign In</div>
2026-02-03 08:56:11 +00:00
</div>
),
footerLinks: [
{ label: 'Forgot Password?', to: '/forgot-password' },
{ label: "Don't have an account? Sign up", to: '/register' }
]
},
};