UNPKG

@papernote/ui

Version:

A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive

27 lines 947 B
import React from 'react'; export interface CarouselItem { id: string; content: React.ReactNode; } export interface CarouselProps { /** Items to display in carousel */ items: CarouselItem[]; /** Auto-play interval in milliseconds (0 to disable) */ autoPlay?: number; /** Show navigation arrows */ showArrows?: boolean; /** Show dot indicators */ showDots?: boolean; /** Enable infinite loop */ loop?: boolean; /** Callback when slide changes */ onSlideChange?: (index: number) => void; /** Number of items to show at once */ itemsPerView?: number; /** Gap between items in pixels */ gap?: number; /** Custom class name */ className?: string; } export default function Carousel({ items, autoPlay, showArrows, showDots, loop, onSlideChange, itemsPerView, gap, className, }: CarouselProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Carousel.d.ts.map