Merge pull request #12653 from patsissons/react-bootstrap-table-fill

Adding Table fill prop
This commit is contained in:
Nathan Shively-Sanders
2016-11-22 13:02:16 -08:00
committed by GitHub
2 changed files with 24 additions and 0 deletions

View File

@@ -862,6 +862,7 @@ declare namespace ReactBootstrap {
hover?: boolean;
responsive?: boolean;
striped?: boolean;
fill?: boolean;
}
type Table = React.ClassicComponent<TableProps, {}>;
var Table: React.ClassicComponentClass<TableProps>;

View File

@@ -274,6 +274,29 @@ export class ReactBootstrapTest extends Component<any, any> {
</Panel>
</div>
<div style={style}>
<Panel collapsible defaultExpanded header='Panel heading'>
Some default panel content here.
<Table fill>
<thead>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
</tr>
</thead>
<tbody>
<tr>
<td>Item 1</td>
<td>Item 2</td>
<td>&hellip;</td>
</tr>
</tbody>
</Table>
Some more panel content here.
</Panel>
</div>
<div style={style}>
<Accordion>
<Panel header='Collapsible Group Item #1' eventKey='1'>