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, SafeAnchor, Grid, Row, Col, Thumbnail, Image, ResponsiveEmbed, Label, Badge, Jumbotron, PageHeader, Glyphicon, Table, Form, FormGroup, ControlLabel, FormControl, HelpBlock, Radio, Checkbox, Media, InputGroup } from 'react-bootstrap'; export class ReactBootstrapTest extends Component { callback() { alert('Callback: ' + JSON.stringify(arguments)); } public render() { let style: CSSProperties = { padding: '50px' }; let tooltip = (Holy guacamole! Check this info.); const innerGlyphicon = ; const innerButton = ; const innerDropdown = ( Item ); const innerRadio = ; const innerCheckbox = ; return (
// TODO: Start here
Dropdown link Dropdown link Dropdown link Dropdown link Dropdown link Dropdown link
Action Another action Active Item Separated link
    Header link Header link disabled link with title link that alerts
Basic panel example
Panel content Panel content
Panel content
Panel content Panel content Panel content Panel content Panel content Panel content
Some default panel content here. Item 1 Item 2 Some more panel content here.
Some default panel content here.
A B C
Item 1 Item 2
Some more panel content here.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Modal title One fine body...
({})} style={style}> Modal heading

Text in a modal

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

Popover in a modal

there is a popover here

Tooltips in a modal

there is a tooltip here


Overflowing text to show scroll behavior

Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.

Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.

Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.

Tooltip right Tooltip top Tooltip left Tooltip bottom
And here's some amazing content. It's very engaging. right?
Holy guacamole! Check this info.}> Holy guacamole! Check this info.}> Holy guacamole! Check this info.}> Holy guacamole! Check this info.}>
Holy guacamole! Check this info.}> Holy guacamole! Check this info.}> Holy guacamole! Check this info.}> Holy guacamole! Check this info.}> Holy guacamole! Check this info.}>

React-Bootstrap {} } /> Signed in as: Mark Otto {' '} Have a great day!
Previous {' '} Next
← Previous Page Next Page →
← Previous Next →
Tab 1 content Tab 2 content Tab 3 content
{}} onEntering={() => {}} onExit={() => {}} onExited={() => {}} onExiting={()=>{}} unmountOnExit={true} bsClass="some style" tabClassName="classname" eventKey={1} title='Tab 1'>Tab 1 content Tab 2 content Tab 3 content
Tab 1 content Tab 2 content
Previous Next
← Previous Page Next Page →
← Previous Next →


} maxButtons={10}/>
Holy guacamole! Best check yo self, you're not looking too good.
900x500

First slide label

Nulla vitae elit libero, a pharetra augue mollis interdum.

900x500

Second slide label

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

900x500

Third slide label

Praesent commodo cursus magna, vel scelerisque nisl consectetur.

<{'Col xs={12} md={8}'} /> <{'Col xs={6} md={4}'} /> <{'Col xs={6} md={4}'} /> <{'Col xs={6} md={4}'} /> <{'Col xs={6} md={4}'} /> <{'Col xs={6} xsOffset={6}'} /> <{'Col md={6} mdPush={6}'} /> <{'Col md={6} mdPull={6}'} />
Item 1 Item 2 ...
Link 1 Link 2 Trigger an alert
Link 1 Link 2 Link 3
Success Info Warning Danger
Some body text Linked item Danger styling

Label

Label

Label

Label

Label

Label

         

Badges 42

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Embedded Content Embedded Content Embedded Content
Example page header Subtext for header
Look I'm in a well!
Look I'm in a large well! Look I'm in a small well!
Number First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Number Table heading Table heading Table heading Table heading Table heading Table heading
1 Table cell Table cell Table cell Table cell Table cell Table cell
2 Table cell Table cell Table cell Table cell Table cell Table cell
3 Table cell Table cell Table cell Table cell Table cell Table cell
Working example with validation Validation is based on string length.
Text Email address Pass File [Optional] Block level help text Checkbox Radio Select Textarea
@ .00 $ .00 Item
Input with success Help text with validation state. Input with warning Input with error Input with success and feedback icon Input with warning and feedback icon Input with error and feedback icon Input with success and custom feedback icon Input group with warning @ Input with error Input group with success @
Input with warning {' '} {' '} Input group with error {' '} @
Checkbox with success Radio with warning Checkbox with error {/* This requires React 15's -less spaces to be exactly correct. */} Checkbox {' '} with {' '} success
Control Label Help block message. 1 {' '} 2 {' '} 3 1 {' '} 2 {' '} 3
Image Top aligned media

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.

Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

); } }