diff --git a/types/reactstrap/index.d.ts b/types/reactstrap/index.d.ts index ae06cdd7cf..fb0242be63 100644 --- a/types/reactstrap/index.d.ts +++ b/types/reactstrap/index.d.ts @@ -12,78 +12,78 @@ export interface CSSModule { [className: string]: string; } -export { Alert, AlertProps } from './lib/Alert'; -export { Badge, BadgeProps } from './lib/Badge'; -export { Breadcrumb, BreadcrumbProps } from './lib/Breadcrumb'; -export { BreadcrumbItem, BreadcrumbItemProps } from './lib/BreadcrumbItem'; -export { Button, ButtonProps } from './lib/Button'; -export { ButtonDropdown, ButtonDropdownProps } from './lib/ButtonDropdown'; -export { ButtonGroup, ButtonGroupProps } from './lib/ButtonGroup'; -export { ButtonToolbar, ButtonToolbarProps } from './lib/ButtonToolbar'; -export { Card, CardProps } from './lib/Card'; -export { CardBody, CardBodyProps } from './lib/CardBody'; -export { CardBlock, CardBlockProps } from './lib/CardBlock'; -export { CardColumns, CardColumnsProps } from './lib/CardColumns'; -export { CardDeck, CardDeckProps } from './lib/CardDeck'; -export { CardFooter, CardFooterProps } from './lib/CardFooter'; -export { CardGroup, CardGroupProps } from './lib/CardGroup'; -export { CardHeader, CardHeaderProps } from './lib/CardHeader'; -export { CardImg, CardImgProps } from './lib/CardImg'; -export { CardImgOverlay, CardImgOverlayProps } from './lib/CardImgOverlay'; -export { CardLink, CardLinkProps } from './lib/CardLink'; -export { CardSubtitle, CardSubtitleProps } from './lib/CardSubtitle'; -export { CardText, CardTextProps } from './lib/CardText'; -export { CardTitle, CardTitleProps } from './lib/CardTitle'; -export { Col, ColProps } from './lib/Col'; -export { Collapse, CollapseProps } from './lib/Collapse'; -export { Container, ContainerProps } from './lib/Container'; -export { Dropdown, DropdownProps } from './lib/Dropdown'; -export { DropdownItem, DropdownItemProps } from './lib/DropdownItem'; -export { DropdownMenu, DropdownMenuProps } from './lib/DropdownMenu'; -export { DropdownToggle, DropdownToggleProps } from './lib/DropdownToggle'; -export { Fade, FadeProps } from './lib/Fade'; -export { Form, FormProps } from './lib/Form'; -export { FormFeedback, FormFeedbackProps } from './lib/FormFeedback'; -export { FormGroup, FormGroupProps } from './lib/FormGroup'; -export { FormText, FormTextProps } from './lib/FormText'; -export { Input, InputProps } from './lib/Input'; -export { InputGroup, InputGroupProps } from './lib/InputGroup'; -export { InputGroupAddon, InputGroupAddonProps } from './lib/InputGroupAddon'; -export { InputGroupButton, InputGroupButtonProps } from './lib/InputGroupButton'; -export { Jumbotron, JumbotronProps } from './lib/Jumbotron'; -export { Label, LabelProps } from './lib/Label'; -export { ListGroup, ListGroupProps } from './lib/ListGroup'; -export { ListGroupItem, ListGroupItemProps } from './lib/ListGroupItem'; -export { ListGroupItemHeading, ListGroupItemHeadingProps } from './lib/ListGroupItemHeading'; -export { ListGroupItemText, ListGroupItemTextProps } from './lib/ListGroupItemText'; -export { Media, MediaProps } from './lib/Media'; -export { Modal, ModalProps } from './lib/Modal'; -export { ModalBody, ModalBodyProps } from './lib/ModalBody'; -export { ModalFooter, ModalFooterProps } from './lib/ModalFooter'; -export { ModalHeader, ModalHeaderProps } from './lib/ModalHeader'; -export { Nav, NavProps } from './lib/Nav'; -export { Navbar, NavbarProps } from './lib/Navbar'; -export { NavbarBrand, NavbarBrandProps } from './lib/NavbarBrand'; -export { NavbarToggler, NavbarTogglerProps } from './lib/NavbarToggler'; -export { NavDropdown, NavDropdownProps } from './lib/NavDropdown'; -export { NavItem, NavItemProps } from './lib/NavItem'; -export { NavLink, NavLinkProps } from './lib/NavLink'; -export { Pagination, PaginationProps } from './lib/Pagination'; -export { PaginationItem, PaginationItemProps } from './lib/PaginationItem'; -export { PaginationLink, PaginationLinkProps } from './lib/PaginationLink'; -export { Popover, PopoverProps } from './lib/Popover'; -export { PopoverBody, PopoverBodyProps } from './lib/PopoverBody'; -export { PopoverHeader, PopoverHeaderProps } from './lib/PopoverHeader'; -export { Progress, ProgressProps } from './lib/Progress'; -export { Row, RowProps } from './lib/Row'; -export { TabContent, TabContentProps } from './lib/TabContent'; -export { Table, TableProps } from './lib/Table'; -export { TabPane, TabPaneProps } from './lib/TabPane'; -export { Tag, TagProps } from './lib/Tag'; -export { TetherContent, TetherContentProps } from './lib/TetherContent'; -export { Tooltip, TooltipProps } from './lib/Tooltip'; -export { UncontrolledAlert, UncontrolledAlertProps } from './lib/Uncontrolled'; -export { UncontrolledButtonDropdown, UncontrolledButtonDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledDropdown, UncontrolledDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledNavDropdown, UncontrolledNavDropdownProps } from './lib/Uncontrolled'; -export { UncontrolledTooltip, UncontrolledTooltipProps } from './lib/Uncontrolled'; +export { default as Alert, AlertProps } from './lib/Alert'; +export { default as Badge, BadgeProps } from './lib/Badge'; +export { default as Breadcrumb, BreadcrumbProps } from './lib/Breadcrumb'; +export { default as BreadcrumbItem, BreadcrumbItemProps } from './lib/BreadcrumbItem'; +export { default as Button, ButtonProps } from './lib/Button'; +export { default as ButtonDropdown, ButtonDropdownProps } from './lib/ButtonDropdown'; +export { default as ButtonGroup, ButtonGroupProps } from './lib/ButtonGroup'; +export { default as ButtonToolbar, ButtonToolbarProps } from './lib/ButtonToolbar'; +export { default as Card, CardProps } from './lib/Card'; +export { default as CardBody, CardBodyProps } from './lib/CardBody'; +export { default as CardBlock, CardBlockProps } from './lib/CardBlock'; +export { default as CardColumns, CardColumnsProps } from './lib/CardColumns'; +export { default as CardDeck, CardDeckProps } from './lib/CardDeck'; +export { default as CardFooter, CardFooterProps } from './lib/CardFooter'; +export { default as CardGroup, CardGroupProps } from './lib/CardGroup'; +export { default as CardHeader, CardHeaderProps } from './lib/CardHeader'; +export { default as CardImg, CardImgProps } from './lib/CardImg'; +export { default as CardImgOverlay, CardImgOverlayProps } from './lib/CardImgOverlay'; +export { default as CardLink, CardLinkProps } from './lib/CardLink'; +export { default as CardSubtitle, CardSubtitleProps } from './lib/CardSubtitle'; +export { default as CardText, CardTextProps } from './lib/CardText'; +export { default as CardTitle, CardTitleProps } from './lib/CardTitle'; +export { default as Col, ColProps } from './lib/Col'; +export { default as Collapse, CollapseProps } from './lib/Collapse'; +export { default as Container, ContainerProps } from './lib/Container'; +export { default as Dropdown, DropdownProps } from './lib/Dropdown'; +export { default as DropdownItem, DropdownItemProps } from './lib/DropdownItem'; +export { default as DropdownMenu, DropdownMenuProps } from './lib/DropdownMenu'; +export { default as DropdownToggle, DropdownToggleProps } from './lib/DropdownToggle'; +export { default as Fade, FadeProps } from './lib/Fade'; +export { default as Form, FormProps } from './lib/Form'; +export { default as FormFeedback, FormFeedbackProps } from './lib/FormFeedback'; +export { default as FormGroup, FormGroupProps } from './lib/FormGroup'; +export { default as FormText, FormTextProps } from './lib/FormText'; +export { default as Input, InputProps } from './lib/Input'; +export { default as InputGroup, InputGroupProps } from './lib/InputGroup'; +export { default as InputGroupAddon, InputGroupAddonProps } from './lib/InputGroupAddon'; +export { default as InputGroupButton, InputGroupButtonProps } from './lib/InputGroupButton'; +export { default as Jumbotron, JumbotronProps } from './lib/Jumbotron'; +export { default as Label, LabelProps } from './lib/Label'; +export { default as ListGroup, ListGroupProps } from './lib/ListGroup'; +export { default as ListGroupItem, ListGroupItemProps } from './lib/ListGroupItem'; +export { default as ListGroupItemHeading, ListGroupItemHeadingProps } from './lib/ListGroupItemHeading'; +export { default as ListGroupItemText, ListGroupItemTextProps } from './lib/ListGroupItemText'; +export { default as Media, MediaProps } from './lib/Media'; +export { default as Modal, ModalProps } from './lib/Modal'; +export { default as ModalBody, ModalBodyProps } from './lib/ModalBody'; +export { default as ModalFooter, ModalFooterProps } from './lib/ModalFooter'; +export { default as ModalHeader, ModalHeaderProps } from './lib/ModalHeader'; +export { default as Nav, NavProps } from './lib/Nav'; +export { default as Navbar, NavbarProps } from './lib/Navbar'; +export { default as NavbarBrand, NavbarBrandProps } from './lib/NavbarBrand'; +export { default as NavbarToggler, NavbarTogglerProps } from './lib/NavbarToggler'; +export { default as NavDropdown, NavDropdownProps } from './lib/NavDropdown'; +export { default as NavItem, NavItemProps } from './lib/NavItem'; +export { default as NavLink, NavLinkProps } from './lib/NavLink'; +export { default as Pagination, PaginationProps } from './lib/Pagination'; +export { default as PaginationItem, PaginationItemProps } from './lib/PaginationItem'; +export { default as PaginationLink, PaginationLinkProps } from './lib/PaginationLink'; +export { default as Popover, PopoverProps } from './lib/Popover'; +export { default as PopoverBody, PopoverBodyProps } from './lib/PopoverBody'; +export { default as PopoverHeader, PopoverHeaderProps } from './lib/PopoverHeader'; +export { default as Progress, ProgressProps } from './lib/Progress'; +export { default as Row, RowProps } from './lib/Row'; +export { default as TabContent, TabContentProps } from './lib/TabContent'; +export { default as Table, TableProps } from './lib/Table'; +export { default as TabPane, TabPaneProps } from './lib/TabPane'; +export { default as Tag, TagProps } from './lib/Tag'; +export { default as TetherContent, TetherContentProps } from './lib/TetherContent'; +export { default as Tooltip, TooltipProps } from './lib/Tooltip'; +export { UncontrolledAlert, UncontrolledAlertProps } from './lib/Uncontrolled'; +export { UncontrolledButtonDropdown, UncontrolledButtonDropdownProps } from './lib/Uncontrolled'; +export { UncontrolledDropdown, UncontrolledDropdownProps } from './lib/Uncontrolled'; +export { UncontrolledNavDropdown, UncontrolledNavDropdownProps } from './lib/Uncontrolled'; +export { UncontrolledTooltip, UncontrolledTooltipProps } from './lib/Uncontrolled'; diff --git a/types/reactstrap/lib/Alert.d.ts b/types/reactstrap/lib/Alert.d.ts index 6ce7c0fe0e..c52ff2c35b 100644 --- a/types/reactstrap/lib/Alert.d.ts +++ b/types/reactstrap/lib/Alert.d.ts @@ -1,6 +1,6 @@ import { CSSModule } from '../index'; -export interface UncontrolledAlertProps { +export interface UncontrolledProps { className?: string; cssModule?: CSSModule; color?: string; @@ -9,11 +9,14 @@ export interface UncontrolledAlertProps { transitionEnterTimeout?: number; transitionLeaveTimeout?: number; } +export interface UncontrolledAlertProps extends UncontrolledProps { + /* intentionally blank */ +} export interface AlertProps extends UncontrolledAlertProps { isOpen?: boolean; toggle?: () => void; } -export const Alert: React.StatelessComponent; +declare const Alert: React.StatelessComponent; export default Alert; diff --git a/types/reactstrap/lib/Badge.d.ts b/types/reactstrap/lib/Badge.d.ts index 328e3abf36..b58faeed8c 100644 --- a/types/reactstrap/lib/Badge.d.ts +++ b/types/reactstrap/lib/Badge.d.ts @@ -8,5 +8,5 @@ export interface BadgeProps { cssModule?: CSSModule; } -export const Badge: React.StatelessComponent; +declare const Badge: React.StatelessComponent; export default Badge; diff --git a/types/reactstrap/lib/Breadcrumb.d.ts b/types/reactstrap/lib/Breadcrumb.d.ts index 62ccf477a9..4b5e2b85da 100644 --- a/types/reactstrap/lib/Breadcrumb.d.ts +++ b/types/reactstrap/lib/Breadcrumb.d.ts @@ -6,5 +6,5 @@ export interface BreadcrumbProps { cssModule?: CSSModule; } -export const Breadcrumb: React.StatelessComponent; +declare const Breadcrumb: React.StatelessComponent; export default Breadcrumb; diff --git a/types/reactstrap/lib/BreadcrumbItem.d.ts b/types/reactstrap/lib/BreadcrumbItem.d.ts index 81d18f0f76..4cb8d77c75 100644 --- a/types/reactstrap/lib/BreadcrumbItem.d.ts +++ b/types/reactstrap/lib/BreadcrumbItem.d.ts @@ -10,5 +10,5 @@ export interface BreadcrumbItemProps { [others: string]: any; } -export const BreadcrumbItem: React.StatelessComponent; +declare const BreadcrumbItem: React.StatelessComponent; export default BreadcrumbItem; diff --git a/types/reactstrap/lib/Button.d.ts b/types/reactstrap/lib/Button.d.ts index f4a8b4e4cd..50f69b1fb1 100644 --- a/types/reactstrap/lib/Button.d.ts +++ b/types/reactstrap/lib/Button.d.ts @@ -17,5 +17,5 @@ export interface ButtonProps extends React.HTMLProps { cssModule?: CSSModule; } -export const Button: React.StatelessComponent; +declare const Button: React.StatelessComponent; export default Button; diff --git a/types/reactstrap/lib/ButtonDropdown.d.ts b/types/reactstrap/lib/ButtonDropdown.d.ts index 284818f88f..fd09d6da8f 100644 --- a/types/reactstrap/lib/ButtonDropdown.d.ts +++ b/types/reactstrap/lib/ButtonDropdown.d.ts @@ -1,9 +1,15 @@ import { UncontrolledDropdownProps, DropdownProps } from './Dropdown'; -// tslint:disable-next-line -export interface UncontrolledButtonDropdownProps extends UncontrolledDropdownProps { } -// tslint:disable-next-line -export interface ButtonDropdownProps extends DropdownProps { } +export interface UncontrolledProps extends UncontrolledDropdownProps { + /* intentionally blank */ +} +export interface UncontrolledButtonDropdownProps extends UncontrolledProps { + /* intentionally blank */ +} -export const ButtonDropdown: React.StatelessComponent; +export interface ButtonDropdownProps extends DropdownProps { + /* intentionally blank */ +} + +declare const ButtonDropdown: React.StatelessComponent; export default ButtonDropdown; diff --git a/types/reactstrap/lib/ButtonGroup.d.ts b/types/reactstrap/lib/ButtonGroup.d.ts index cf51a29326..29bbaac38b 100644 --- a/types/reactstrap/lib/ButtonGroup.d.ts +++ b/types/reactstrap/lib/ButtonGroup.d.ts @@ -10,5 +10,5 @@ export interface ButtonGroupProps { vertical?: boolean; } -export const ButtonGroup: React.StatelessComponent; +declare const ButtonGroup: React.StatelessComponent; export default ButtonGroup; diff --git a/types/reactstrap/lib/ButtonToolbar.d.ts b/types/reactstrap/lib/ButtonToolbar.d.ts index e57b84337a..1c782c5745 100644 --- a/types/reactstrap/lib/ButtonToolbar.d.ts +++ b/types/reactstrap/lib/ButtonToolbar.d.ts @@ -8,5 +8,5 @@ export interface ButtonToolbarProps { role?: string; } -export const ButtonToolbar: React.StatelessComponent; +declare const ButtonToolbar: React.StatelessComponent; export default ButtonToolbar; diff --git a/types/reactstrap/lib/Card.d.ts b/types/reactstrap/lib/Card.d.ts index 8398d3b631..97aafdc3e3 100644 --- a/types/reactstrap/lib/Card.d.ts +++ b/types/reactstrap/lib/Card.d.ts @@ -11,5 +11,5 @@ export interface CardProps { style?: React.CSSProperties; } -export const Card: React.StatelessComponent; +declare const Card: React.StatelessComponent; export default Card; diff --git a/types/reactstrap/lib/CardBlock.d.ts b/types/reactstrap/lib/CardBlock.d.ts index a4eae1cf6e..9830e15e6a 100644 --- a/types/reactstrap/lib/CardBlock.d.ts +++ b/types/reactstrap/lib/CardBlock.d.ts @@ -6,5 +6,5 @@ export interface CardBlockProps { cssModule?: CSSModule; } -export const CardBlock: React.StatelessComponent; +declare const CardBlock: React.StatelessComponent; export default CardBlock; diff --git a/types/reactstrap/lib/CardBody.d.ts b/types/reactstrap/lib/CardBody.d.ts index 9ff4ba1f7e..433a6a6ac0 100644 --- a/types/reactstrap/lib/CardBody.d.ts +++ b/types/reactstrap/lib/CardBody.d.ts @@ -6,5 +6,5 @@ export interface CardBodyProps { cssModule?: CSSModule; } -export const CardBody: React.StatelessComponent; +declare const CardBody: React.StatelessComponent; export default CardBody; diff --git a/types/reactstrap/lib/CardColumns.d.ts b/types/reactstrap/lib/CardColumns.d.ts index 4853240671..92eb2019ec 100644 --- a/types/reactstrap/lib/CardColumns.d.ts +++ b/types/reactstrap/lib/CardColumns.d.ts @@ -6,5 +6,5 @@ export interface CardColumnsProps { cssModule?: CSSModule; } -export const CardColumns: React.StatelessComponent; +declare const CardColumns: React.StatelessComponent; export default CardColumns; diff --git a/types/reactstrap/lib/CardDeck.d.ts b/types/reactstrap/lib/CardDeck.d.ts index 963d617383..c14324df37 100644 --- a/types/reactstrap/lib/CardDeck.d.ts +++ b/types/reactstrap/lib/CardDeck.d.ts @@ -6,5 +6,5 @@ export interface CardDeckProps { cssModule?: CSSModule; } -export const CardDeck: React.StatelessComponent; +declare const CardDeck: React.StatelessComponent; export default CardDeck; diff --git a/types/reactstrap/lib/CardFooter.d.ts b/types/reactstrap/lib/CardFooter.d.ts index 415406a14c..6dba776a38 100644 --- a/types/reactstrap/lib/CardFooter.d.ts +++ b/types/reactstrap/lib/CardFooter.d.ts @@ -6,5 +6,5 @@ export interface CardFooterProps { cssModule?: CSSModule; } -export const CardFooter: React.StatelessComponent; +declare const CardFooter: React.StatelessComponent; export default CardFooter; diff --git a/types/reactstrap/lib/CardGroup.d.ts b/types/reactstrap/lib/CardGroup.d.ts index be69f617e7..695747eef4 100644 --- a/types/reactstrap/lib/CardGroup.d.ts +++ b/types/reactstrap/lib/CardGroup.d.ts @@ -6,5 +6,5 @@ export interface CardGroupProps { cssModule?: CSSModule; } -export const CardGroup: React.StatelessComponent; +declare const CardGroup: React.StatelessComponent; export default CardGroup; diff --git a/types/reactstrap/lib/CardHeader.d.ts b/types/reactstrap/lib/CardHeader.d.ts index e9a468e2e4..306ff445e3 100644 --- a/types/reactstrap/lib/CardHeader.d.ts +++ b/types/reactstrap/lib/CardHeader.d.ts @@ -6,5 +6,5 @@ export interface CardHeaderProps { cssModule?: CSSModule; } -export const CardHeader: React.StatelessComponent; +declare const CardHeader: React.StatelessComponent; export default CardHeader; diff --git a/types/reactstrap/lib/CardImg.d.ts b/types/reactstrap/lib/CardImg.d.ts index 76bd9a18f2..e65cba66e2 100644 --- a/types/reactstrap/lib/CardImg.d.ts +++ b/types/reactstrap/lib/CardImg.d.ts @@ -12,5 +12,5 @@ export interface CardImgProps { alt?: string; } -export const CardImg: React.StatelessComponent; +declare const CardImg: React.StatelessComponent; export default CardImg; diff --git a/types/reactstrap/lib/CardImgOverlay.d.ts b/types/reactstrap/lib/CardImgOverlay.d.ts index 0511d38e8b..d31e96d76f 100644 --- a/types/reactstrap/lib/CardImgOverlay.d.ts +++ b/types/reactstrap/lib/CardImgOverlay.d.ts @@ -6,5 +6,5 @@ export interface CardImgOverlayProps { cssModule?: CSSModule; } -export const CardImgOverlay: React.StatelessComponent; +declare const CardImgOverlay: React.StatelessComponent; export default CardImgOverlay; diff --git a/types/reactstrap/lib/CardLink.d.ts b/types/reactstrap/lib/CardLink.d.ts index 68ef38fa62..22c9d614b3 100644 --- a/types/reactstrap/lib/CardLink.d.ts +++ b/types/reactstrap/lib/CardLink.d.ts @@ -8,5 +8,5 @@ export interface CardLinkProps { href?: string; } -export const CardLink: React.StatelessComponent; +declare const CardLink: React.StatelessComponent; export default CardLink; diff --git a/types/reactstrap/lib/CardSubtitle.d.ts b/types/reactstrap/lib/CardSubtitle.d.ts index 5c2cbe574f..915c69c93f 100644 --- a/types/reactstrap/lib/CardSubtitle.d.ts +++ b/types/reactstrap/lib/CardSubtitle.d.ts @@ -6,5 +6,5 @@ export interface CardSubtitleProps { cssModule?: CSSModule; } -export const CardSubtitle: React.StatelessComponent; +declare const CardSubtitle: React.StatelessComponent; export default CardSubtitle; diff --git a/types/reactstrap/lib/CardText.d.ts b/types/reactstrap/lib/CardText.d.ts index 1b411717f5..3782e962be 100644 --- a/types/reactstrap/lib/CardText.d.ts +++ b/types/reactstrap/lib/CardText.d.ts @@ -6,5 +6,5 @@ export interface CardTextProps { cssModule?: CSSModule; } -export const CardText: React.StatelessComponent; +declare const CardText: React.StatelessComponent; export default CardText; diff --git a/types/reactstrap/lib/CardTitle.d.ts b/types/reactstrap/lib/CardTitle.d.ts index 483a47adb7..f551d860ab 100644 --- a/types/reactstrap/lib/CardTitle.d.ts +++ b/types/reactstrap/lib/CardTitle.d.ts @@ -6,5 +6,5 @@ export interface CardTitleProps { cssModule?: CSSModule; } -export const CardTitle: React.StatelessComponent; +declare const CardTitle: React.StatelessComponent; export default CardTitle; diff --git a/types/reactstrap/lib/Col.d.ts b/types/reactstrap/lib/Col.d.ts index c1bc6a0cd9..b0aa8f98c1 100644 --- a/types/reactstrap/lib/Col.d.ts +++ b/types/reactstrap/lib/Col.d.ts @@ -20,5 +20,5 @@ export interface ColProps extends React.HTMLProps { widths?: string[]; } -export const Col: React.StatelessComponent; +declare const Col: React.StatelessComponent; export default Col; diff --git a/types/reactstrap/lib/Collapse.d.ts b/types/reactstrap/lib/Collapse.d.ts index d926fd677d..d2c6bc0c70 100644 --- a/types/reactstrap/lib/Collapse.d.ts +++ b/types/reactstrap/lib/Collapse.d.ts @@ -14,5 +14,5 @@ export interface CollapseProps extends React.HTMLProps { onClosed?: () => void; } -export const Collapse: React.StatelessComponent; +declare const Collapse: React.StatelessComponent; export default Collapse; diff --git a/types/reactstrap/lib/Container.d.ts b/types/reactstrap/lib/Container.d.ts index 63906b7bf3..4721cf68c1 100644 --- a/types/reactstrap/lib/Container.d.ts +++ b/types/reactstrap/lib/Container.d.ts @@ -7,5 +7,5 @@ export interface ContainerProps { cssModule?: CSSModule; } -export const Container: React.StatelessComponent; +declare const Container: React.StatelessComponent; export default Container; diff --git a/types/reactstrap/lib/Dropdown.d.ts b/types/reactstrap/lib/Dropdown.d.ts index 93a0ee1ce5..38bfe65b63 100644 --- a/types/reactstrap/lib/Dropdown.d.ts +++ b/types/reactstrap/lib/Dropdown.d.ts @@ -2,14 +2,17 @@ import { CSSModule } from '../index'; -export interface UncontrolledDropdownProps { +export interface UncontrolledProps { isOpen?: boolean; toggle?: () => void; className?: string; cssModule?: CSSModule; } +export interface UncontrolledDropdownProps extends UncontrolledProps { + /* intentionally blank */ +} -export interface DropdownProps extends UncontrolledDropdownProps { +export interface Props extends UncontrolledProps { disabled?: boolean; dropup?: boolean; group?: boolean; @@ -17,6 +20,9 @@ export interface DropdownProps extends UncontrolledDropdownProps { tag?: React.ReactType; tether?: boolean | Tether.ITetherOptions; } +export interface DropdownProps extends Props { + /* intentionally blank */ +} -export const Dropdown: React.StatelessComponent; +declare const Dropdown: React.StatelessComponent; export default Dropdown; diff --git a/types/reactstrap/lib/DropdownItem.d.ts b/types/reactstrap/lib/DropdownItem.d.ts index 194d89bf0b..963f1e3865 100644 --- a/types/reactstrap/lib/DropdownItem.d.ts +++ b/types/reactstrap/lib/DropdownItem.d.ts @@ -12,5 +12,5 @@ export interface DropdownItemProps { toggle?: boolean; } -export const DropdownItem: React.StatelessComponent; +declare const DropdownItem: React.StatelessComponent; export default DropdownItem; diff --git a/types/reactstrap/lib/DropdownMenu.d.ts b/types/reactstrap/lib/DropdownMenu.d.ts index 1bbf642a09..04ca074b41 100644 --- a/types/reactstrap/lib/DropdownMenu.d.ts +++ b/types/reactstrap/lib/DropdownMenu.d.ts @@ -7,5 +7,5 @@ export interface DropdownMenuProps { cssModule?: CSSModule; } -export const DropdownMenu: React.StatelessComponent; +declare const DropdownMenu: React.StatelessComponent; export default DropdownMenu; diff --git a/types/reactstrap/lib/DropdownToggle.d.ts b/types/reactstrap/lib/DropdownToggle.d.ts index 8f395b998d..51028815d4 100644 --- a/types/reactstrap/lib/DropdownToggle.d.ts +++ b/types/reactstrap/lib/DropdownToggle.d.ts @@ -15,5 +15,5 @@ export interface DropdownToggleProps { size?: string; } -export const DropdownToggle: React.StatelessComponent; +declare const DropdownToggle: React.StatelessComponent; export default DropdownToggle; diff --git a/types/reactstrap/lib/Fade.d.ts b/types/reactstrap/lib/Fade.d.ts index ab77d7fb61..6f86b33846 100644 --- a/types/reactstrap/lib/Fade.d.ts +++ b/types/reactstrap/lib/Fade.d.ts @@ -16,5 +16,5 @@ export interface FadeProps { onEnter?: () => void; } -export const Fade: React.StatelessComponent; +declare const Fade: React.StatelessComponent; export default Fade; diff --git a/types/reactstrap/lib/Form.d.ts b/types/reactstrap/lib/Form.d.ts index 507b617a12..997f4c4e5c 100644 --- a/types/reactstrap/lib/Form.d.ts +++ b/types/reactstrap/lib/Form.d.ts @@ -8,5 +8,5 @@ export interface FormProps extends React.HTMLProps { cssModule?: CSSModule; } -export const Form: React.StatelessComponent; +declare const Form: React.StatelessComponent; export default Form; diff --git a/types/reactstrap/lib/FormFeedback.d.ts b/types/reactstrap/lib/FormFeedback.d.ts index e9479bc53d..20e9b27745 100644 --- a/types/reactstrap/lib/FormFeedback.d.ts +++ b/types/reactstrap/lib/FormFeedback.d.ts @@ -6,5 +6,5 @@ export interface FormFeedbackProps { cssModule?: CSSModule; } -export const FormFeedback: React.StatelessComponent; +declare const FormFeedback: React.StatelessComponent; export default FormFeedback; diff --git a/types/reactstrap/lib/FormGroup.d.ts b/types/reactstrap/lib/FormGroup.d.ts index c3e4d384db..5827f2c17b 100644 --- a/types/reactstrap/lib/FormGroup.d.ts +++ b/types/reactstrap/lib/FormGroup.d.ts @@ -10,5 +10,5 @@ export interface FormGroupProps extends React.HTMLProps { cssModule?: CSSModule; } -export const FormGroup: React.StatelessComponent; +declare const FormGroup: React.StatelessComponent; export default FormGroup; diff --git a/types/reactstrap/lib/FormText.d.ts b/types/reactstrap/lib/FormText.d.ts index ca4e1858fe..a749d6fc30 100644 --- a/types/reactstrap/lib/FormText.d.ts +++ b/types/reactstrap/lib/FormText.d.ts @@ -8,5 +8,5 @@ export interface FormTextProps { cssModule?: CSSModule; } -export const FormText: React.StatelessComponent; +declare const FormText: React.StatelessComponent; export default FormText; diff --git a/types/reactstrap/lib/Input.d.ts b/types/reactstrap/lib/Input.d.ts index cc7377ca1f..f5c5ac1d02 100644 --- a/types/reactstrap/lib/Input.d.ts +++ b/types/reactstrap/lib/Input.d.ts @@ -40,13 +40,11 @@ export interface InputProps extends Intermediate { valid?: boolean; tag?: React.ReactType; innerRef?: string | ((instance: HTMLInputElement) => any); - static?: boolean; + plaintext?: boolean; addon?: boolean; className?: string; cssModule?: CSSModule; - // We don't have the property 'static' here because 'static' is a reserved keyword in TypeScript - // Maybe reactstrap will support an 'isStatic' alias in the future } -export const Input: React.StatelessComponent; +declare const Input: React.StatelessComponent; export default Input; diff --git a/types/reactstrap/lib/InputGroup.d.ts b/types/reactstrap/lib/InputGroup.d.ts index 9a6ac719bb..22f3ba027c 100644 --- a/types/reactstrap/lib/InputGroup.d.ts +++ b/types/reactstrap/lib/InputGroup.d.ts @@ -7,5 +7,5 @@ export interface InputGroupProps { cssModule?: CSSModule; } -export const InputGroup: React.StatelessComponent; +declare const InputGroup: React.StatelessComponent; export default InputGroup; diff --git a/types/reactstrap/lib/InputGroupAddon.d.ts b/types/reactstrap/lib/InputGroupAddon.d.ts index 63ac88c455..31f5af505d 100644 --- a/types/reactstrap/lib/InputGroupAddon.d.ts +++ b/types/reactstrap/lib/InputGroupAddon.d.ts @@ -6,5 +6,5 @@ export interface InputGroupAddonProps { cssModule?: CSSModule; } -export const InputGroupAddon: React.StatelessComponent; +declare const InputGroupAddon: React.StatelessComponent; export default InputGroupAddon; diff --git a/types/reactstrap/lib/InputGroupButton.d.ts b/types/reactstrap/lib/InputGroupButton.d.ts index f51c61b3d1..0d77701932 100644 --- a/types/reactstrap/lib/InputGroupButton.d.ts +++ b/types/reactstrap/lib/InputGroupButton.d.ts @@ -9,5 +9,5 @@ export interface InputGroupButtonProps { color?: string; } -export const InputGroupButton: React.StatelessComponent; +declare const InputGroupButton: React.StatelessComponent; export default InputGroupButton; diff --git a/types/reactstrap/lib/Jumbotron.d.ts b/types/reactstrap/lib/Jumbotron.d.ts index 885bbe5f8f..6cb94c04c1 100644 --- a/types/reactstrap/lib/Jumbotron.d.ts +++ b/types/reactstrap/lib/Jumbotron.d.ts @@ -7,5 +7,5 @@ export interface JumbotronProps { cssModule?: CSSModule; } -export const Jumbotron: React.StatelessComponent; +declare const Jumbotron: React.StatelessComponent; export default Jumbotron; diff --git a/types/reactstrap/lib/Label.d.ts b/types/reactstrap/lib/Label.d.ts index 26728059e0..ae73e100f4 100644 --- a/types/reactstrap/lib/Label.d.ts +++ b/types/reactstrap/lib/Label.d.ts @@ -22,5 +22,5 @@ export interface LabelProps extends Intermediate { xl?: ColumnProps; } -export const Label: React.StatelessComponent; +declare const Label: React.StatelessComponent; export default Label; diff --git a/types/reactstrap/lib/ListGroup.d.ts b/types/reactstrap/lib/ListGroup.d.ts index aec7fa4045..a2a088935b 100644 --- a/types/reactstrap/lib/ListGroup.d.ts +++ b/types/reactstrap/lib/ListGroup.d.ts @@ -7,5 +7,5 @@ export interface ListGroupProps { cssModule?: CSSModule; } -export const ListGroup: React.StatelessComponent; +declare const ListGroup: React.StatelessComponent; export default ListGroup; diff --git a/types/reactstrap/lib/ListGroupItem.d.ts b/types/reactstrap/lib/ListGroupItem.d.ts index 5b610f87e2..d2cb1a9e67 100644 --- a/types/reactstrap/lib/ListGroupItem.d.ts +++ b/types/reactstrap/lib/ListGroupItem.d.ts @@ -13,5 +13,5 @@ export interface ListGroupItemProps { onClick?: React.MouseEventHandler; } -export const ListGroupItem: React.StatelessComponent; +declare const ListGroupItem: React.StatelessComponent; export default ListGroupItem; diff --git a/types/reactstrap/lib/ListGroupItemHeading.d.ts b/types/reactstrap/lib/ListGroupItemHeading.d.ts index 3e8d83a0dc..0f5bdfb457 100644 --- a/types/reactstrap/lib/ListGroupItemHeading.d.ts +++ b/types/reactstrap/lib/ListGroupItemHeading.d.ts @@ -6,5 +6,5 @@ export interface ListGroupItemHeadingProps { cssModule?: CSSModule; } -export const ListGroupItemHeading: React.StatelessComponent; +declare const ListGroupItemHeading: React.StatelessComponent; export default ListGroupItemHeading; diff --git a/types/reactstrap/lib/ListGroupItemText.d.ts b/types/reactstrap/lib/ListGroupItemText.d.ts index ad83a45831..7010eb1289 100644 --- a/types/reactstrap/lib/ListGroupItemText.d.ts +++ b/types/reactstrap/lib/ListGroupItemText.d.ts @@ -6,5 +6,5 @@ export interface ListGroupItemTextProps { cssModule?: CSSModule; } -export const ListGroupItemText: React.StatelessComponent; +declare const ListGroupItemText: React.StatelessComponent; export default ListGroupItemText; diff --git a/types/reactstrap/lib/Media.d.ts b/types/reactstrap/lib/Media.d.ts index 17b65f25f0..daf4fadcc8 100644 --- a/types/reactstrap/lib/Media.d.ts +++ b/types/reactstrap/lib/Media.d.ts @@ -17,5 +17,5 @@ export interface MediaProps { alt?: string; } -export const Media: React.StatelessComponent; +declare const Media: React.StatelessComponent; export default Media; diff --git a/types/reactstrap/lib/Modal.d.ts b/types/reactstrap/lib/Modal.d.ts index 77122f64b4..5fc1ffc734 100644 --- a/types/reactstrap/lib/Modal.d.ts +++ b/types/reactstrap/lib/Modal.d.ts @@ -19,5 +19,5 @@ export interface ModalProps { fade?: boolean; } -export const Modal: React.StatelessComponent; +declare const Modal: React.StatelessComponent; export default Modal; diff --git a/types/reactstrap/lib/ModalBody.d.ts b/types/reactstrap/lib/ModalBody.d.ts index a2693cbf28..1467b5883a 100644 --- a/types/reactstrap/lib/ModalBody.d.ts +++ b/types/reactstrap/lib/ModalBody.d.ts @@ -6,5 +6,5 @@ export interface ModalBodyProps { cssModule?: CSSModule; } -export const ModalBody: React.StatelessComponent; +declare const ModalBody: React.StatelessComponent; export default ModalBody; diff --git a/types/reactstrap/lib/ModalFooter.d.ts b/types/reactstrap/lib/ModalFooter.d.ts index 0241dcde84..ae511eb7cc 100644 --- a/types/reactstrap/lib/ModalFooter.d.ts +++ b/types/reactstrap/lib/ModalFooter.d.ts @@ -6,5 +6,5 @@ export interface ModalFooterProps { cssModule?: CSSModule; } -export const ModalFooter: React.StatelessComponent; +declare const ModalFooter: React.StatelessComponent; export default ModalFooter; diff --git a/types/reactstrap/lib/ModalHeader.d.ts b/types/reactstrap/lib/ModalHeader.d.ts index a235d73183..47632f59e3 100644 --- a/types/reactstrap/lib/ModalHeader.d.ts +++ b/types/reactstrap/lib/ModalHeader.d.ts @@ -8,5 +8,5 @@ export interface ModalHeaderProps { toggle?: () => void; } -export const ModalHeader: React.StatelessComponent; +declare const ModalHeader: React.StatelessComponent; export default ModalHeader; diff --git a/types/reactstrap/lib/Nav.d.ts b/types/reactstrap/lib/Nav.d.ts index 23bf1e58c5..c29c9a6460 100644 --- a/types/reactstrap/lib/Nav.d.ts +++ b/types/reactstrap/lib/Nav.d.ts @@ -13,5 +13,5 @@ export interface NavProps extends React.HTMLProps { vertical?: boolean; } -export const Nav: React.StatelessComponent; +declare const Nav: React.StatelessComponent; export default Nav; diff --git a/types/reactstrap/lib/NavDropdown.d.ts b/types/reactstrap/lib/NavDropdown.d.ts index 22e408489b..e40e60601c 100644 --- a/types/reactstrap/lib/NavDropdown.d.ts +++ b/types/reactstrap/lib/NavDropdown.d.ts @@ -1,9 +1,15 @@ import { UncontrolledDropdownProps, DropdownProps } from './Dropdown'; -// tslint:disable-next-line -export interface UncontrolledNavDropdownProps extends UncontrolledDropdownProps { } -// tslint:disable-next-line -export interface NavDropdownProps extends DropdownProps { } +export interface UncontrolledProps extends UncontrolledDropdownProps { + /* intentionally blank */ +} +export interface UncontrolledNavDropdownProps extends UncontrolledProps { + /* intentionally blank */ +} -export const NavDropdown: React.StatelessComponent; +export interface NavDropdownProps extends DropdownProps { + /* intentionally blank */ +} + +declare const NavDropdown: React.StatelessComponent; export default NavDropdown; diff --git a/types/reactstrap/lib/NavItem.d.ts b/types/reactstrap/lib/NavItem.d.ts index cb32a4fad1..0769347298 100644 --- a/types/reactstrap/lib/NavItem.d.ts +++ b/types/reactstrap/lib/NavItem.d.ts @@ -6,5 +6,5 @@ export interface NavItemProps { cssModule?: CSSModule; } -export const NavItem: React.StatelessComponent; +declare const NavItem: React.StatelessComponent; export default NavItem; diff --git a/types/reactstrap/lib/NavLink.d.ts b/types/reactstrap/lib/NavLink.d.ts index 7fa907c453..53640c65e1 100644 --- a/types/reactstrap/lib/NavLink.d.ts +++ b/types/reactstrap/lib/NavLink.d.ts @@ -11,5 +11,5 @@ export interface NavLinkProps extends React.HTMLProps { href?: string; } -export const NavLink: React.StatelessComponent; +declare const NavLink: React.StatelessComponent; export default NavLink; diff --git a/types/reactstrap/lib/Navbar.d.ts b/types/reactstrap/lib/Navbar.d.ts index fd52feeae8..ed3f28a02c 100644 --- a/types/reactstrap/lib/Navbar.d.ts +++ b/types/reactstrap/lib/Navbar.d.ts @@ -16,5 +16,5 @@ export interface NavbarProps { expand?: boolean | string; } -export const Navbar: React.StatelessComponent; +declare const Navbar: React.StatelessComponent; export default Navbar; diff --git a/types/reactstrap/lib/NavbarBrand.d.ts b/types/reactstrap/lib/NavbarBrand.d.ts index 8e3328ab81..83ac8367b5 100644 --- a/types/reactstrap/lib/NavbarBrand.d.ts +++ b/types/reactstrap/lib/NavbarBrand.d.ts @@ -6,5 +6,5 @@ export interface NavbarBrandProps extends React.HTMLProps { cssModule?: CSSModule; } -export const NavbarBrand: React.StatelessComponent; +declare const NavbarBrand: React.StatelessComponent; export default NavbarBrand; diff --git a/types/reactstrap/lib/NavbarToggler.d.ts b/types/reactstrap/lib/NavbarToggler.d.ts index 1855e2c41c..1eea9880a5 100644 --- a/types/reactstrap/lib/NavbarToggler.d.ts +++ b/types/reactstrap/lib/NavbarToggler.d.ts @@ -9,5 +9,5 @@ export interface NavbarTogglerProps extends React.HTMLProps { left?: boolean; } -export const NavbarToggler: React.StatelessComponent; +declare const NavbarToggler: React.StatelessComponent; export default NavbarToggler; diff --git a/types/reactstrap/lib/Pagination.d.ts b/types/reactstrap/lib/Pagination.d.ts index dd1a0c9d51..7657d90206 100644 --- a/types/reactstrap/lib/Pagination.d.ts +++ b/types/reactstrap/lib/Pagination.d.ts @@ -6,5 +6,5 @@ export interface PaginationProps { size?: string; } -export const Pagination: React.StatelessComponent; +declare const Pagination: React.StatelessComponent; export default Pagination; diff --git a/types/reactstrap/lib/PaginationItem.d.ts b/types/reactstrap/lib/PaginationItem.d.ts index 1e8efa8712..c2eadfab97 100644 --- a/types/reactstrap/lib/PaginationItem.d.ts +++ b/types/reactstrap/lib/PaginationItem.d.ts @@ -8,5 +8,5 @@ export interface PaginationItemProps { tag?: React.ReactType; } -export const PaginationItem: React.StatelessComponent; +declare const PaginationItem: React.StatelessComponent; export default PaginationItem; diff --git a/types/reactstrap/lib/PaginationLink.d.ts b/types/reactstrap/lib/PaginationLink.d.ts index c57bee37ac..52fbc6353a 100644 --- a/types/reactstrap/lib/PaginationLink.d.ts +++ b/types/reactstrap/lib/PaginationLink.d.ts @@ -9,5 +9,5 @@ export interface PaginationLinkProps extends React.HTMLProps tag?: React.ReactType; } -export const PaginationLink: React.StatelessComponent; +declare const PaginationLink: React.StatelessComponent; export default PaginationLink; diff --git a/types/reactstrap/lib/Popover.d.ts b/types/reactstrap/lib/Popover.d.ts index e9e757572e..dcded7ab68 100644 --- a/types/reactstrap/lib/Popover.d.ts +++ b/types/reactstrap/lib/Popover.d.ts @@ -30,5 +30,5 @@ export interface PopoverProps { toggle?: () => void; } -export const Popover: React.StatelessComponent; +declare const Popover: React.StatelessComponent; export default Popover; diff --git a/types/reactstrap/lib/PopoverBody.d.ts b/types/reactstrap/lib/PopoverBody.d.ts index de2d61f5e2..93512cacb1 100644 --- a/types/reactstrap/lib/PopoverBody.d.ts +++ b/types/reactstrap/lib/PopoverBody.d.ts @@ -6,5 +6,5 @@ export interface PopoverBodyProps { cssModule?: CSSModule; } -export const PopoverBody: React.StatelessComponent; +declare const PopoverBody: React.StatelessComponent; export default PopoverBody; diff --git a/types/reactstrap/lib/PopoverHeader.d.ts b/types/reactstrap/lib/PopoverHeader.d.ts index 7f38988391..2ad69c636c 100644 --- a/types/reactstrap/lib/PopoverHeader.d.ts +++ b/types/reactstrap/lib/PopoverHeader.d.ts @@ -6,5 +6,5 @@ export interface PopoverHeaderProps { cssModule?: CSSModule; } -export const PopoverHeader: React.StatelessComponent; +declare const PopoverHeader: React.StatelessComponent; export default PopoverHeader; diff --git a/types/reactstrap/lib/Progress.d.ts b/types/reactstrap/lib/Progress.d.ts index 9ab522746c..89e9df4be9 100644 --- a/types/reactstrap/lib/Progress.d.ts +++ b/types/reactstrap/lib/Progress.d.ts @@ -14,5 +14,5 @@ export interface ProgressProps { barClassName?: string; } -export const Progress: React.StatelessComponent; +declare const Progress: React.StatelessComponent; export default Progress; diff --git a/types/reactstrap/lib/Row.d.ts b/types/reactstrap/lib/Row.d.ts index 30d202e919..e5553ff81f 100644 --- a/types/reactstrap/lib/Row.d.ts +++ b/types/reactstrap/lib/Row.d.ts @@ -7,5 +7,5 @@ export interface RowProps extends React.HTMLProps< HTMLElement> { noGutters?: boolean; } -export const Row: React.StatelessComponent; +declare const Row: React.StatelessComponent; export default Row; diff --git a/types/reactstrap/lib/TabContent.d.ts b/types/reactstrap/lib/TabContent.d.ts index 1aced21b02..2581ea7a93 100644 --- a/types/reactstrap/lib/TabContent.d.ts +++ b/types/reactstrap/lib/TabContent.d.ts @@ -7,5 +7,5 @@ export interface TabContentProps { cssModule?: CSSModule; } -export const TabContent: React.StatelessComponent; +declare const TabContent: React.StatelessComponent; export default TabContent; diff --git a/types/reactstrap/lib/TabPane.d.ts b/types/reactstrap/lib/TabPane.d.ts index 1d588e7304..a39398d59b 100644 --- a/types/reactstrap/lib/TabPane.d.ts +++ b/types/reactstrap/lib/TabPane.d.ts @@ -7,5 +7,5 @@ export interface TabPaneProps { tabId?: number | string; } -export const TabPane: React.StatelessComponent; +declare const TabPane: React.StatelessComponent; export default TabPane; diff --git a/types/reactstrap/lib/Table.d.ts b/types/reactstrap/lib/Table.d.ts index b49c6a5920..c2d31d71e2 100644 --- a/types/reactstrap/lib/Table.d.ts +++ b/types/reactstrap/lib/Table.d.ts @@ -14,5 +14,5 @@ export interface TableProps { responsiveTag?: React.ReactType; } -export const Table: React.StatelessComponent; +declare const Table: React.StatelessComponent; export default Table; diff --git a/types/reactstrap/lib/Tag.d.ts b/types/reactstrap/lib/Tag.d.ts index 0f2ed5bd07..153ff61177 100644 --- a/types/reactstrap/lib/Tag.d.ts +++ b/types/reactstrap/lib/Tag.d.ts @@ -8,5 +8,5 @@ export interface TagProps { cssModule?: CSSModule; } -export const Tag: React.StatelessComponent; +declare const Tag: React.StatelessComponent; export default Tag; diff --git a/types/reactstrap/lib/TetherContent.d.ts b/types/reactstrap/lib/TetherContent.d.ts index 7dd32ae381..54f0190090 100644 --- a/types/reactstrap/lib/TetherContent.d.ts +++ b/types/reactstrap/lib/TetherContent.d.ts @@ -14,5 +14,5 @@ export interface TetherContentProps { style?: React.CSSProperties; } -export const TetherContent: React.StatelessComponent; +declare const TetherContent: React.StatelessComponent; export default TetherContent; diff --git a/types/reactstrap/lib/Tooltip.d.ts b/types/reactstrap/lib/Tooltip.d.ts index 21a99707e8..a6183668bf 100644 --- a/types/reactstrap/lib/Tooltip.d.ts +++ b/types/reactstrap/lib/Tooltip.d.ts @@ -20,7 +20,7 @@ type Placement | 'left middle' | 'left bottom'; -export interface UncontrolledTooltipProps { +export interface UncontrolledProps { placement?: Placement; target: string; disabled?: boolean; @@ -31,11 +31,14 @@ export interface UncontrolledTooltipProps { autohide?: boolean; delay?: number | { show: number, hide: number }; } +export interface UncontrolledTooltipProps extends UncontrolledProps { + /* intentionally blank */ +} export interface TooltipProps extends UncontrolledTooltipProps { toggle?: () => void; isOpen?: boolean; } -export const Tooltip: React.StatelessComponent; +declare const Tooltip: React.StatelessComponent; export default Tooltip;