import type { Meta, StoryObj } from '@storybook/react'; import { BellRing } from 'lucide-react'; import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from '@konobangu/design-system/components/ui/card'; const notifications = [ { title: 'Your call has been confirmed.', description: '1 hour ago', }, { title: 'You have a new message!', description: '1 hour ago', }, { title: 'Your subscription is expiring soon!', description: '2 hours ago', }, ]; /** * Displays a card with header, content, and footer. */ const meta = { title: 'ui/Card', component: Card, tags: ['autodocs'], argTypes: {}, args: { className: 'w-96', }, render: (args) => ( Notifications You have 3 unread messages. {notifications.map((notification, index) => (

{notification.title}

{notification.description}

))}
), parameters: { layout: 'centered', }, } satisfies Meta; export default meta; type Story = StoryObj; /** * The default form of the card. */ export const Default: Story = {};