Dashboard sipadu mbip
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920212223242526272829303132333435
  1. import * as React from 'react';
  2. import CarouselCaption from './CarouselCaption';
  3. import CarouselItem from './CarouselItem';
  4. import { BsPrefixComponent } from './helpers';
  5. export interface CarouselProps {
  6. bsPrefix?: string;
  7. slide?: boolean;
  8. fade?: boolean;
  9. wrap?: boolean;
  10. indicators?: boolean;
  11. interval?: number | null;
  12. controls?: boolean;
  13. pauseOnHover?: boolean;
  14. keyboard?: boolean;
  15. onSelect?: (eventKey: any, direction: 'prev' | 'next', event: object) => void;
  16. onSlideEnd?: () => void;
  17. activeIndex?: number;
  18. prevIcon?: React.ReactNode;
  19. prevLabel?: string;
  20. nextIcon?: React.ReactNode;
  21. nextLabel?: string;
  22. touch?: boolean;
  23. }
  24. declare class Carousel<
  25. As extends React.ElementType = 'div'
  26. > extends BsPrefixComponent<As, CarouselProps> {
  27. static Item: typeof CarouselItem;
  28. static Caption: typeof CarouselCaption;
  29. }
  30. export default Carousel;