1 | import * as React from 'react';
|
2 | import { Omit, Sizes, SelectCallback } from 'react-bootstrap';
|
3 | import CarouselItem = require('./CarouselItem');
|
4 | import CarouselCaption = require('./CarouselCaption');
|
5 |
|
6 | declare namespace Carousel {
|
7 | export type CarouselProps = Omit<React.HTMLProps<Carousel>, 'wrap'> & {
|
8 | activeIndex?: number;
|
9 | bsSize?: Sizes;
|
10 | bsStyle?: string;
|
11 | controls?: boolean;
|
12 | defaultActiveIndex?: number;
|
13 | direction?: string;
|
14 | indicators?: boolean;
|
15 | interval?: number | null;
|
16 | nextIcon?: React.ReactNode;
|
17 | onSelect?: SelectCallback;
|
18 |
|
19 | onSlideEnd?: Function;
|
20 | pauseOnHover?: boolean;
|
21 | prevIcon?: React.ReactNode;
|
22 | slide?: boolean;
|
23 | wrap?: boolean;
|
24 | };
|
25 | }
|
26 | declare class Carousel extends React.Component<Carousel.CarouselProps> {
|
27 | public static Caption: typeof CarouselCaption;
|
28 | public static Item: typeof CarouselItem;
|
29 | }
|
30 | export = Carousel;
|