Remove (deprecated) FormControls tests

This commit is contained in:
Mike Winfield
2016-06-06 17:10:45 +01:00
parent 8ef50befe5
commit 2376f40c0c

View File

@@ -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, FormControls, 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, Label, Badge, Jumbotron, PageHeader, Glyphicon, Table, Input, ButtonInput, Form, FormGroup, ControlLabel, FormControl, HelpBlock, Radio, Checkbox } from 'react-bootstrap';
export class ReactBootstrapTest extends Component<any, any> {
@@ -854,14 +854,6 @@ export class ReactBootstrapTest extends Component<any, any> {
</form>
</div>
<div style={style}>
<form>
<FormControls.Static className="col-xs-10 col-xs-offset-2" value="I'm in a form" />
<FormControls.Static label="First Name" labelClassName="col-xs-2" wrapperClassName="col-xs-10" value="Billy" />
<FormControls.Static label="Last Name" labelClassName="col-xs-2" wrapperClassName="col-xs-10">Bob</FormControls.Static>
</form>
</div>
<div style={style}>
<form>
<Input type='text' addonBefore='@' />
@@ -911,7 +903,7 @@ export class ReactBootstrapTest extends Component<any, any> {
</Row>
</Input>
</div>
<div style={style}>
<Form>
<FormGroup
@@ -919,13 +911,13 @@ export class ReactBootstrapTest extends Component<any, any> {
>
<ControlLabel>Control Label</ControlLabel>
<FormControl
type="text"
type="text"
placeholder="Enter text"
/>
<FormControl.Feedback />
<HelpBlock>Help block message.</HelpBlock>
</FormGroup>
<FormGroup>
<Checkbox name="checkbox" inline>1</Checkbox>
{' '}