UNPKG

@whitemordred/react-native-bootstrap5

Version:

A complete React Native library that replicates Bootstrap 5.3 with 100% feature parity, full theming support, CSS variables, and dark/light mode

45 lines 1.25 kB
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; interface CarouselItem { id: string; content: React.ReactNode; caption?: { title?: string; subtitle?: string; }; } interface CarouselProps { items: CarouselItem[]; autoPlay?: boolean; interval?: number; indicators?: boolean; controls?: boolean; fade?: boolean; onSlideChange?: (index: number) => void; style?: ViewStyle; itemStyle?: ViewStyle; } interface CarouselCaptionProps { title?: string; subtitle?: string; style?: ViewStyle; titleStyle?: TextStyle; subtitleStyle?: TextStyle; } interface CarouselIndicatorsProps { items: CarouselItem[]; activeIndex: number; onPress: (index: number) => void; style?: ViewStyle; } interface CarouselControlsProps { onPrevious: () => void; onNext: () => void; style?: ViewStyle; } export declare const CarouselCaption: React.FC<CarouselCaptionProps>; export declare const CarouselIndicators: React.FC<CarouselIndicatorsProps>; export declare const CarouselControls: React.FC<CarouselControlsProps>; export declare const Carousel: React.FC<CarouselProps>; export default Carousel; //# sourceMappingURL=Carousel.d.ts.map