import type { Meta, StoryObj } from '@storybook/react'; import { AlertCircle } from 'lucide-react'; import { Alert, AlertDescription, AlertTitle, } from '@konobangu/design-system/components/ui/alert'; /** * Displays a callout for user attention. */ const meta = { title: 'ui/Alert', component: Alert, tags: ['autodocs'], argTypes: { variant: { options: ['default', 'destructive'], control: { type: 'radio' }, }, }, args: { variant: 'default', }, render: (args) => ( Heads up! You can add components to your app using the cli. ), } satisfies Meta; export default meta; type Story = StoryObj; /** * The default form of the alert. */ export const Default: Story = {}; /** * Use the `destructive` alert to indicate a destructive action. */ export const Destructive: Story = { render: (args) => ( Error Your session has expired. Please log in again. ), args: { variant: 'destructive', }, };