DefinitelyTyped/react-bootstrap/react-bootstrap.d.ts

895 lines
29 KiB
TypeScript

// Type definitions for react-bootstrap
// Project: https://github.com/react-bootstrap/react-bootstrap
// Definitions by: Walker Burgin <https://github.com/walkerburgin>, Vincent Siao <https://github.com/vsiao>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path="../react/react.d.ts"/>
declare module "react-bootstrap" {
// Import React
import React = require("react");
// <Button />
// ----------------------------------------
interface ButtonProps extends React.Props<Button>{
// Optional
active?: boolean;
disabled?: boolean;
block?: boolean;
bsStyle?: string;
bsSize?: string;
className?: string;
navItem?: boolean;
navDropdown?: boolean;
componentClass?: string;
href?: string;
onClick?: Function; // Add more specific type
target?: string;
type?: string;
}
type Button = React.ClassicComponent<ButtonProps, {}>;
var Button: React.ClassicComponentClass<ButtonProps>;
// <ButtonToolbar />
// ----------------------------------------
interface ButtonToolbarProps extends React.Props<ButtonToolbar> {
// Optional
block?: boolean;
bsSize?: string;
bsStyle?: string;
className?: string;
justified?: boolean;
vertical?: boolean;
}
type ButtonToolbar = React.ClassicComponent<ButtonToolbarProps, {}>;
var ButtonToolbar: React.ClassicComponentClass<ButtonToolbarProps>;
// <ButtonGroup />
// ----------------------------------------
interface ButtonGroupProps extends React.Props<ButtonGroup> {
// Optional
block?: boolean;
bsSize?: string;
bsStyle?: string;
className?: string;
justified?: boolean;
vertical?: boolean;
}
type ButtonGroup = React.ClassicComponent<ButtonGroupProps, {}>;
var ButtonGroup: React.ClassicComponentClass<ButtonGroupProps>;
// <DropdownButton />
// ----------------------------------------
interface DropdownButtonProps extends React.Props<DropdownButton> {
bsStyle?: string;
bsSize?: string;
buttonClassName?: string;
className?: string;
dropup?: boolean;
href?: string;
id?: string | number;
navItem?: boolean;
noCaret?: boolean;
onClick?: Function; // TODO: Add more specifc type
onSelect?: Function; // TODO: Add more specific type
pullRight?: boolean;
title?: any; // TODO: Add more specific type
}
class DropdownButton extends React.Component<DropdownButtonProps, {}> {
}
// <SplitButton />
// ----------------------------------------
interface SplitButtonProps extends React.Props<SplitButton>{
bsStyle?: string;
bsSize?: string;
className?: string;
disabled?: boolean;
dropdownTitle?: any; // TODO: Add more specific type
dropup?: boolean;
href?: string;
id?: string;
onClick?: Function; // TODO: Add more specific type
onSelect?: Function; // TODO: Add more specific type
pullRight?: boolean;
target?: string;
title?: any; // TODO: Add more specific type
}
class SplitButton extends React.Component<SplitButtonProps, {}> {
}
// <MenuItem />
// ----------------------------------------
interface MenuItemProps extends React.Props<MenuItem> {
active?: boolean;
className?: string;
disabled?: boolean;
divider?: boolean;
eventKey?: any;
header?: boolean;
href?: string;
onClick?: Function;
onKeyDown?: Function;
onSelect?: Function;
target?: string;
title?: string;
}
class MenuItem extends React.Component<MenuItemProps, {}> {
}
// <Panel />
// ----------------------------------------
interface PanelProps extends React.Props<Panel> {
className?: string;
bsSize?: string;
bsStyle?: string;
collapsible?: boolean;
defaultExpanded?: boolean;
eventKey?: any;
expanded?: boolean;
footer?: any; // TODO: Add more specific type
header?: any; // TODO: Add more specific type
id?: string;
onSelect?: Function; // TODO: Add more specific type
onClick?: Function; // TODO: Add more specific type
}
type Panel = React.ClassicComponent<PanelProps, {}>;
var Panel: React.ClassicComponentClass<PanelProps>;
// <Accordion />
// ----------------------------------------
interface AccordionProps extends React.Props<Accordion> {
bsSize?: string;
bsStyle?: string;
collapsible?: boolean;
defaultExpanded?: boolean;
eventKey?: any;
expanded?: boolean;
footer?: any; // TODO: Add more specific type
header?: any; // TODO: Add more specific type
id?: string;
onSelect?: Function; // TODO: Add more specific type
}
type Accordion = React.ClassicComponent<AccordionProps, {}>;
var Accordion: React.ClassicComponentClass<AccordionProps>;
// <PanelGroup />
// ----------------------------------------
interface PanelGroupProps extends React.Props<PanelGroup> {
accordion?: boolean;
activeKey?: any;
bsSize?: string;
bsStyle?: string;
className?: string;
defaultActiveKey?: any;
onSelect?: Function;
}
type PanelGroup = React.ClassicComponent<PanelGroupProps, {}>;
var PanelGroup: React.ClassicComponentClass<PanelGroupProps>;
// <Modal.Dialog />
// ----------------------------------------
interface ModalDialogProps extends React.Props<ModalDialog> {
// TODO: Add more specific type
}
type ModalDialog = React.ClassicComponent<ModalDialogProps, {}>;
var ModalDialog: React.ClassicComponentClass<ModalDialogProps>;
// <Modal.Header />
// ----------------------------------------
interface ModalHeaderProps extends React.Props<ModalHeader> {
className?: string;
closeButton?: boolean;
modalClassName?: string;
onHide?: Function;
// undefined?: string;
}
class ModalHeader extends React.Component<ModalHeaderProps, {}> {
}
// <Modal.Title/>
// ----------------------------------------
interface ModalTitleProps extends React.Props<ModalTitle> {
className?: string;
modalClassName?: string;
}
class ModalTitle extends React.Component<ModalTitleProps, {}> {
}
// <Modal.Body />
// ----------------------------------------
interface ModalBodyProps extends React.Props<ModalBody> {
className?: string;
modalClassName?: string;
}
class ModalBody extends React.Component<ModalBodyProps, {}> {
}
// <Modal.Footer />
// ----------------------------------------
interface ModalFooterProps extends React.Props<ModalFooter> {
className?: string;
modalClassName?: string;
}
class ModalFooter extends React.Component<ModalFooterProps, {}> {
}
// <Modal />
// ----------------------------------------
interface ModalProps extends React.Props<Modal> {
// Required
onHide: Function;
// Optional
animation?: boolean;
autoFocus?: boolean;
backdrop?: boolean|string;
bsSize?: string;
container?: any; // TODO: Add more specific type
dialogClassName?: string;
dialogComponent?: any; // TODO: Add more specific type
enforceFocus?: boolean;
keyboard?: boolean;
show?: boolean;
}
interface ModalClass extends React.ClassicComponentClass<ModalProps> {
Body: typeof ModalBody;
Header: typeof ModalHeader;
Title: typeof ModalTitle;
Footer: typeof ModalFooter;
Dialog: typeof ModalDialog;
}
type Modal = React.ClassicComponent<ModalProps, {}>;
var Modal: ModalClass;
// <OverlayTrigger />
// ----------------------------------------
interface OverlayTriggerProps extends React.Props<OverlayTrigger> {
// Required
overlay: any; // TODO: Add more specific type
// Optional
animation?: any; // TODO: Add more specific type
container?: any; // TODO: Add more specific type
containerPadding?: number;
defaultOverlayShown?: boolean;
delay?: number;
delayHide?: number;
delayShow?: number;
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
placement?: string;
rootClose?: boolean;
trigger?: string | string[];
}
type OverlayTrigger = React.ClassicComponent<OverlayTriggerProps, {}>;
var OverlayTrigger: React.ClassicComponentClass<OverlayTriggerProps>;
// <Tooltip />
// ----------------------------------------
interface TooltipProps extends React.Props<Tooltip> {
// Optional
arrowOffsetLeft?: number | string;
arrowOffsetTop?: number | string;
bsSize?: string;
bsStyle?: string;
className?: string;
id?: string;
placement?: string;
positionLeft?: number;
positionTop?: number;
title?: any; // TODO: Add more specific type
}
type Tooltip = React.ClassicComponent<TooltipProps, {}>;
var Tooltip: React.ClassicComponentClass<TooltipProps>;
// <Popover/>
// ----------------------------------------
interface PopoverProps extends React.Props<Popover> {
// Optional
arrowOffsetLeft?: number | string;
arrowOffsetTop?: number | string;
bsSize?: string;
bsStyle?: string;
className?: string;
id?: string;
placement?: string;
positionLeft?: number;
positionTop?: number;
title?: any; // TODO: Add more specific type
}
type Popover = React.ClassicComponent<PopoverProps, {}>;
var Popover: React.ClassicComponentClass<PopoverProps>;
// <Overlay />
// ----------------------------------------
interface OverlayProps extends React.Props<Overlay> {
// Optional
animation?: any; // TODO: Add more specific type
container?: any; // TODO: Add more specific type
containerPadding?: number; // TODO: Add more specific type
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
onHide?: Function;
placement?: string;
rootClose?: boolean;
show?: boolean;
target?: Function;
}
class Overlay extends React.Component<OverlayProps, {}> {
}
// <ProgressBar />
// ----------------------------------------
interface ProgressBarProps extends React.Props<ProgressBar> {
// Optional
active?: boolean;
bsSize?: string;
bsStyle?: string;
className?: string;
interpolatedClass?: any; // TODO: Add more specific type
label?: any; // TODO: Add more specific type
max?: number;
min?: number;
now?: number;
srOnly?: boolean;
striped?: boolean;
}
class ProgressBar extends React.Component<ProgressBarProps, {}> {
}
// <Nav />
// ----------------------------------------
// TODO: This one turned into a union of two different types
interface NavProps extends React.Props<Nav> {
// Optional
activeHref?: string;
activeKey?: any;
bsSize?: string;
bsStyle?: string;
className?: string;
collapsible?: boolean;
eventKey?: any;
expanded?: boolean;
id?: string;
justified?: boolean;
navbar?: boolean;
onSelect?: Function;
pullRight?: boolean;
right?: boolean;
stacked?: boolean;
ulClassName?: string;
ulId?: string;
}
class Nav extends React.Component<NavProps, {}> {
}
// <NavItem />
// ----------------------------------------
interface NavItemProps extends React.Props<NavItem> {
active?: boolean;
brand?: any; // TODO: Add more specific type
bsSize?: string;
bsStyle?: string;
className?: string;
componentClass?: any; // TODO: Add more specific type
defaultNavExpanded?: boolean;
disabled?: boolean;
eventKey?: any;
fixedBottom?: boolean;
fixedTop?: boolean;
fluid?: boolean;
href?: string;
inverse?: boolean;
linkId?: string;
navExpanded?: boolean;
onClick?: Function;
onSelect?: Function;
onToggle?: Function;
role?: string;
staticTop?: boolean;
target?: string;
title?: string;
toggleButton?: any; // TODO: Add more specific type
toggleNavKey?: string | number;
}
type NavItem = React.ClassicComponent<NavItemProps, {}>;
var NavItem: React.ClassicComponentClass<NavItemProps>;
// <Navbar.Brand />
// ----------------------------------------
interface NavbarBrandProps extends React.Props<NavbarBrand> {
}
class NavbarBrand extends React.Component<NavbarBrandProps, {}> {
}
// <Navbar.Collapse />
// ----------------------------------------
interface NavbarCollapseProps extends React.Props<NavbarCollapse> {
}
type NavbarCollapse = React.ClassicComponent<NavbarCollapseProps, {}>;
var NavbarCollapse: React.ClassicComponentClass<NavbarCollapseProps>;
// <Navbar.Header />
// ----------------------------------------
interface NavbarHeaderProps extends React.Props<NavbarHeader> {
}
type NavbarHeader = React.ClassicComponent<NavbarHeaderProps, {}>;
var NavbarHeader: React.ClassicComponentClass<NavbarHeaderProps>;
// <Navbar.Toggle />
// ----------------------------------------
interface NavbarToggleProps extends React.Props<NavbarToggle> {
}
type NavbarToggle = React.ClassicComponent<NavbarToggleProps, {}>;
var NavbarToggle: React.ClassicComponentClass<NavbarToggleProps>;
// <Navbar />
// ----------------------------------------
interface NavbarProps extends React.Props<Navbar> {
brand?: any; // TODO: Add more specific type
bsSize?: string;
bsStyle?: string;
className?: string;
componentClass?: any; // TODO: Add more specific type
defaultNavExpanded?: boolean;
fixedBottom?: boolean;
fixedTop?: boolean;
fluid?: boolean;
inverse?: boolean;
navExpanded?: boolean;
onToggle?: Function;
role?: string;
staticTop?: boolean;
toggleButton?: any; // TODO: Add more specific type
toggleNavKey?: string | number;
}
interface NavbarClass extends React.ClassicComponentClass<NavbarProps> {
Brand: typeof NavbarBrand;
Collapse: typeof NavbarCollapse;
Header: typeof NavbarHeader;
Toggle: typeof NavbarToggle;
}
type Navbar = React.ClassicComponent<NavbarProps, {}>;
var Navbar: NavbarClass;
// <NavDropdown />
// ----------------------------------------
interface NavDropdownProps extends React.Props<NavDropdown> {
className?: string;
eventKey?: any;
title?: string;
id?: string;
}
class NavDropdown extends React.Component<NavDropdownProps, {}> {
}
// <Tabs />
// ----------------------------------------
interface TabsProps extends React.Props<Tabs> {
activeKey?: any;
animation?: boolean;
bsStyle?: string;
defaultActiveKey?: any;
id?: string | number;
onSelect?: Function;
paneWidth?: any; // TODO: Add more specific type
position?: string;
tabWidth?: any; // TODO: Add more specific type
}
type Tabs = React.ClassicComponent<TabsProps, {}>;
var Tabs: React.ClassicComponentClass<TabsProps>;
// <Tab />
// ----------------------------------------
interface TabProps extends React.Props<Tab> {
animation?: boolean;
className?: string;
disabled?: boolean;
eventKey?: any; // TODO: Add more specific type
title?: any; // TODO: Add more specific type
}
type Tab = React.ClassicComponent<TabProps, {}>;
var Tab: React.ClassicComponentClass<TabProps>;
// <Pager />
// ----------------------------------------
interface PagerProps extends React.Props<Pager> {
className?: string;
onSelect?: Function;
}
type Pager = React.ClassicComponent<PagerProps, {}>;
var Pager: React.ClassicComponentClass<PagerProps>;
// <PageItem />
// ----------------------------------------
interface PageItemProps extends React.Props<PageItem> {
className?: string;
disabled?: boolean;
eventKey?: any;
href?: string;
next?: boolean;
onSelect?: Function;
previous?: boolean;
target?: string;
title?: string;
}
type PageItem = React.ClassicComponent<PageItemProps, {}>;
var PageItem: React.ClassicComponentClass<PageItemProps>;
// <Pagination />
// ----------------------------------------
interface PaginationProps extends React.Props<Pagination> {
activePage?: number;
bsSize?: string;
bsStyle?: string;
buttonComponentClass?: any; // TODO: Add more specific type
className?: string;
ellipsis?: boolean;
first?: boolean;
items?: number;
last?: boolean;
maxButtons?: number;
next?: boolean;
onSelect?: Function;
prev?: boolean;
}
type Pagination = React.ClassicComponent<PaginationProps, {}>;
var Pagination: React.ClassicComponentClass<PaginationProps>;
// <Alert />
// ----------------------------------------
interface AlertProps extends React.Props<Alert> {
bsSize?: string;
bsStyle?: string;
className?: string;
closeLabel?: string;
dismissAfter?: number;
onDismiss?: Function;
}
type Alert = React.ClassicComponent<AlertProps, {}>;
var Alert: React.ClassicComponentClass<AlertProps>;
// <Carousel />
// ----------------------------------------
interface CarouselProps extends React.Props<Carousel> {
activeIndex?: number;
bsSize?: string;
bsStyle?: string;
className?: string;
controls?: boolean;
defaultActiveIndex?: number;
direction?: string;
indicators?: boolean;
interval?: number;
nextIcon?: any; // TODO: Add more specific type
onSelect?: Function;
onSlideEnd?: Function;
pauseOnHover?: boolean;
prevIcon?: any; // TODO: Add more specific type
slide?: boolean;
wrap?: boolean;
}
type Carousel = React.ClassicComponent<CarouselProps, {}>;
var Carousel: React.ClassicComponentClass<CarouselProps>;
// <CarouselItem />
// ----------------------------------------
interface CarouselItemProps extends React.Props<CarouselItem> {
active?: boolean;
animtateIn?: boolean;
animateOut?: boolean;
caption?: any; // TODO: Add more specific type
className?: string;
direction?: string;
index?: number;
onAnimateOutEnd?: Function;
}
type CarouselItem = React.ClassicComponent<CarouselItemProps, {}>;
var CarouselItem: React.ClassicComponentClass<CarouselItemProps>;
// <Grid />
// ----------------------------------------
interface GridProps extends React.Props<Grid> {
className?: string;
componentClass?: any; // TODO: Add more specific type
fluid?: boolean;
}
type Grid = React.ClassicComponent<GridProps, {}>;
var Grid: React.ClassicComponentClass<GridProps>;
// <Row />
// ----------------------------------------
interface RowProps extends React.Props<Row> {
className?: string;
componentClass?: any; // TODO: Add more specific type
}
type Row = React.ClassicComponent<RowProps, {}>;
var Row: React.ClassicComponentClass<RowProps>;
// <Col />
// ----------------------------------------
interface ColProps extends React.Props<Col> {
className?: string;
componentClass?: any; // TODO: Add more specific type
lg?: number;
lgHidden?: boolean;
lgOffset?: number;
lgPull?: number;
lgPush?: number;
md?: number;
mdHidden?: boolean;
mdOffset?: number;
mdPull?: number;
mdPush?: number;
sm?: number;
smHidden?: boolean;
smOffset?: number;
smPull?: number;
smPush?: number;
xs?: number;
xsHidden?: boolean;
xsOffset?: number;
xsPull?: number;
xsPush?: number;
}
type Col = React.ClassicComponent<ColProps, {}>;
var Col: React.ClassicComponentClass<ColProps>;
// <Thumbnail />
// ----------------------------------------
interface ThumbnailProps extends React.Props<Thumbnail> {
alt?: string;
bsSize?: string;
bsStyle?: string;
className?: string;
href?: string;
src?: string;
}
type Thumbnail = React.ClassicComponent<ThumbnailProps, {}>;
var Thumbnail: React.ClassicComponentClass<ThumbnailProps>;
// <ListGroup />
// ----------------------------------------
interface ListGroupProps extends React.Props<ListGroup> {
className?: string;
id?: string | number;
fill?: boolean; // TODO: Add more specific type
}
class ListGroup extends React.Component<ListGroupProps, {}> {
}
// <ListGroupItem />
// ----------------------------------------
interface ListGroupItemProps extends React.Props<ListGroupItem> {
active?: any;
bsSize?: string;
bsStyle?: string;
className?: string;
disabled?: any;
eventKey?: any;
header?: any; // TODO: Add more specific type
href?: string;
key?: any; // TODO: Add more specific type
listItem?: boolean;
onClick?: Function; // TODO: Add more specific type
target?: string;
}
class ListGroupItem extends React.Component<ListGroupItemProps, {}> {
}
// <Label />
// ----------------------------------------
interface LabelProps extends React.Props<Label> {
bsSize?: string;
bsStyle?: string;
className?: string;
}
class Label extends React.Component<LabelProps, {}> {
}
// <Badge />
// ----------------------------------------
interface BadgeProps extends React.Props<Badge> {
className?: string;
pullRight?: boolean;
}
type Badge = React.ClassicComponent<BadgeProps, {}>;
var Badge: React.ClassicComponentClass<BadgeProps>;
// <Jumbotron />
// ----------------------------------------
interface JumbotronProps extends React.Props<Jumbotron> {
className?: string;
componentClass?: any; // TODO: Add more specific type
}
type Jumbotron = React.ClassicComponent<JumbotronProps, {}>;
var Jumbotron: React.ClassicComponentClass<JumbotronProps>;
// <PageHeader />
// ----------------------------------------
interface PageHeaderProps extends React.Props<PageHeader> {
className?: string;
}
class PageHeader extends React.Component<PageHeaderProps, {}> {
}
// <Well />
// ----------------------------------------
interface WellProps extends React.Props<Well> {
bsSize?: string;
bsStyle?: string;
className?: string;
}
class Well extends React.Component<WellProps, {}> {
}
// <Glyphicon />
// ----------------------------------------
interface GlyphiconProps extends React.Props<Glyphicon> {
className?: string;
// Required
glyph: string;
}
type Glyphicon = React.ClassicComponent<GlyphiconProps, {}>;
var Glyphicon: React.ClassicComponentClass<GlyphiconProps>;
// <Table />
// ----------------------------------------
interface TableProps extends React.Props<Table> {
bordered?: boolean;
className?: string;
condensed?: boolean;
hover?: boolean;
responsive?: boolean;
striped?: boolean;
}
type Table = React.ClassicComponent<TableProps, {}>;
var Table: React.ClassicComponentClass<TableProps>;
// <Input />
// ----------------------------------------
interface InputProps extends React.Props<Input> {
defaultValue?:string;
addonAfter?: any; // TODO: Add more specific type
addonBefore?: any; // TODO: Add more specific type
bsSize?: string;
bsStyle?: string;
buttonAfter?: any; // TODO: Add more specific type
buttonBefore?: any; // TODO: Add more specific type
className?: string;
checked?: boolean;
disabled?: boolean;
feedbackIcon?: any; // TODO: Add more specific type
groupClassName?: string;
hasFeedback?: boolean;
help?: any; // TODO: Add more specific type
id?: string | number;
label?: any; // TODO: Add more specific type
labelClassName?: string;
multiple?: boolean;
placeholder?: string;
readOnly?: boolean;
type?: string;
onChange?: Function; // TODO: Add more specific type
onKeyDown?: Function; // TODO: Add more specific type
onKeyUp?: Function; // TODO: Add more specific type
onKeyPress?: Function; // TODO: Add more specific type
value?: any; // TODO: Add more specific type
wrapperClassName?: string;
}
// TODO: extends InputBase
class Input extends React.Component<InputProps, {}> {
}
// <ButtonInput />
// ----------------------------------------
interface ButtonInputProps extends React.Props<ButtonInput> {
addonAfter?: any; // TODO: Add more specific type
addonBefore?: any; // TODO: Add more specific type
bsSize?: string;
bsStyle?: string;
buttonAfter?: any; // TODO: Add more specific type
buttonBefore?: any; // TODO: Add more specific type
className?: string;
disabled?: boolean;
feedbackIcon?: any; // TODO: Add more specific type
groupClassName?: string;
hasFeedback?: boolean;
help?: any; // TODO: Add more specific type
id?: string | number;
label?: any; // TODO: Add more specific type
labelClassName?: string;
multiple?: boolean;
onClick?: Function; // TODO: Add more specific type
type?: string;
value?: any; // TODO: Add more specific type
wrapperClassName?: string;
}
// TODO: extends InputBase
class ButtonInput extends React.Component<ButtonInputProps, {}> {
}
// <FormControls.Static />
// ----------------------------------------
interface StaticProps extends React.Props<StaticClass> { }
interface Static extends React.ReactElement<StaticProps> { }
interface StaticClass extends React.ComponentClass<StaticProps> { }
interface FormControlsClass {
Static: StaticClass;
}
var FormControls: FormControlsClass;
// <Portal />
// ----------------------------------------
interface PortalProps extends React.Props<Portal> {
dimension?: string | Function;
getDimensionValue?: Function;
in?: boolean;
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
role?: string;
timeout?: number;
transitionAppear?: boolean;
unmountOnExit?: boolean;
}
type Portal = React.ClassicComponent<PortalProps, {}>;
var Portal: React.ClassicComponentClass<PortalProps>;
// <Position />
// ----------------------------------------
interface PositionProps extends React.Props<Position> {
dimension?: string | Function;
getDimensionValue?: Function;
in?: boolean;
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
role?: string;
timeout?: number;
transitionAppear?: boolean;
unmountOnExit?: boolean;
}
class Position extends React.Component<PositionProps, {}> {
}
// <Fade />
// ----------------------------------------
interface FadeProps extends React.Props<Fade> {
in?: boolean;
onEnter?: Function;
onEntered?: Function;
onEntering?: Function;
onExit?: Function;
onExited?: Function;
onExiting?: Function;
timeout?: number;
transitionAppear?: boolean;
unmountOnExit?: boolean;
}
class Fade extends React.Component<FadeProps, {}> {
}
}