import type { Meta, StoryObj } from '@storybook/react'; import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from './carousel'; import { Card, CardContent } from '../card'; import React from 'react'; const meta: Meta = { title: 'UI/Carousel', component: Carousel, render: args => , argTypes: { orientation: { control: 'radio', options: ['horizontal', 'vertical'], description: 'The orientation of the carousel.', defaultValue: 'horizontal', }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: args => (
{Array.from({ length: 5 }).map((_, i) => (
{i + 1}
))}
), }; export const MultiItems: Story = { render: () => (
{Array.from({ length: 5 }).map((_, i) => (
{i + 1}
))}
), };