diff --git a/react-bootstrap/react-bootstrap-tests.tsx b/react-bootstrap/react-bootstrap-tests.tsx index 44d4e98f74..439fe1b96b 100644 --- a/react-bootstrap/react-bootstrap-tests.tsx +++ b/react-bootstrap/react-bootstrap-tests.tsx @@ -7,7 +7,7 @@ // -------------------------------------------------------------------------------- import * as React from 'react'; import { Component, CSSProperties } from 'react'; -import { Button, ButtonToolbar, Modal, Well, ButtonGroup, DropdownButton, MenuItem, Panel, ListGroup, ListGroupItem, Accordion, Tooltip, OverlayTrigger, Popover, ProgressBar, Nav, NavItem, Navbar, NavDropdown, Tabs, Tab, Pager, PageItem, Pagination, Alert, Carousel, CarouselItem, Grid, Row, Col, Thumbnail, Label, Badge, Jumbotron, PageHeader, Glyphicon, Table, Input, ButtonInput, Form, FormGroup, ControlLabel, FormControl, HelpBlock, Radio, Checkbox } from 'react-bootstrap'; +import { Button, ButtonToolbar, Modal, Well, ButtonGroup, DropdownButton, MenuItem, Panel, ListGroup, ListGroupItem, Accordion, Tooltip, OverlayTrigger, Popover, ProgressBar, Nav, NavItem, Navbar, NavDropdown, Tabs, Tab, Pager, PageItem, Pagination, Alert, Carousel, CarouselItem, Grid, Row, Col, Thumbnail, Image, Label, Badge, Jumbotron, PageHeader, Glyphicon, Table, Input, ButtonInput, Form, FormGroup, ControlLabel, FormControl, HelpBlock, Radio, Checkbox } from 'react-bootstrap'; export class ReactBootstrapTest extends Component { @@ -722,6 +722,10 @@ export class ReactBootstrapTest extends Component { +
+ +
+
Example page header Subtext for header
diff --git a/react-bootstrap/react-bootstrap.d.ts b/react-bootstrap/react-bootstrap.d.ts index 3d97b01679..2766e55140 100644 --- a/react-bootstrap/react-bootstrap.d.ts +++ b/react-bootstrap/react-bootstrap.d.ts @@ -623,7 +623,7 @@ declare module "react-bootstrap" { } type Tab = TabClass; var Tab: TabClass; - + // // ---------------------------------------- interface TabContainerProps extends React.HTMLAttributes { @@ -632,7 +632,7 @@ declare module "react-bootstrap" { generateChildId?: (eventKey: any, type: any) => string; } type TabContainer = React.ClassicComponentClass; - + // // ---------------------------------------- interface TabPaneProps extends React.HTMLAttributes { @@ -847,6 +847,16 @@ declare module "react-bootstrap" { type Jumbotron = React.ClassicComponent; var Jumbotron: React.ClassicComponentClass; + // + interface ImageProps extends React.HTMLProps { + circle?: boolean; + responsive?: boolean; + rounded?: boolean; + thumbnail?: boolean; + } + type Image = React.ClassicComponent; + var Image: React.ClassicComponentClass; + // interface PageHeaderProps extends React.HTMLProps { }