Assist_Design/apps/portal/src/components/atoms/loading-overlay.stories.tsx
Temuulen Ankhbayar 4c31c448f3 feat: add portal UI components and stories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:25:01 +09:00

27 lines
580 B
TypeScript

import type { Meta, StoryObj } from "@storybook/react";
import { LoadingOverlay } from "./loading-overlay";
const meta: Meta<typeof LoadingOverlay> = {
title: "Atoms/LoadingOverlay",
component: LoadingOverlay,
parameters: { layout: "fullscreen" },
};
export default meta;
type Story = StoryObj<typeof LoadingOverlay>;
export const Default: Story = {
args: {
isVisible: true,
title: "Processing your order...",
subtitle: "This may take a moment",
},
};
export const SimpleMessage: Story = {
args: {
isVisible: true,
title: "Loading...",
},
};