UNPKG

@blossom-carousel/react

Version:

A native-scroll-first carousel component for React.

18 lines (17 loc) 546 B
import { ElementType, ReactNode } from 'react'; export interface BlossomCarouselHandle { prev: (options?: { align?: string; }) => void; next: (options?: { align?: string; }) => void; element: HTMLElement | null; } declare const BlossomCarousel: import('react').ForwardRefExoticComponent<Omit<{ [key: string]: unknown; children?: ReactNode | Array<ReactNode>; as?: ElementType; repeat?: boolean; }, "ref"> & import('react').RefAttributes<BlossomCarouselHandle>>; export default BlossomCarousel;