1 | import * as React from "react";
|
2 | import { Omit, SelectCallback, Sizes } 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 | undefined;
|
9 | bsSize?: Sizes | undefined;
|
10 | bsStyle?: string | undefined;
|
11 | controls?: boolean | undefined;
|
12 | defaultActiveIndex?: number | undefined;
|
13 | direction?: string | undefined;
|
14 | indicators?: boolean | undefined;
|
15 | interval?: number | null | undefined;
|
16 | nextIcon?: React.ReactNode | undefined;
|
17 | onSelect?: SelectCallback | undefined;
|
18 |
|
19 | onSlideEnd?: Function | undefined;
|
20 | pauseOnHover?: boolean | undefined;
|
21 | prevIcon?: React.ReactNode | undefined;
|
22 | slide?: boolean | undefined;
|
23 | wrap?: boolean | undefined;
|
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;
|