mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Merge pull request #12653 from patsissons/react-bootstrap-table-fill
Adding Table fill prop
This commit is contained in:
1
react-bootstrap/index.d.ts
vendored
1
react-bootstrap/index.d.ts
vendored
@@ -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>;
|
||||
|
||||
@@ -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>…</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</Table>
|
||||
Some more panel content here.
|
||||
</Panel>
|
||||
</div>
|
||||
|
||||
<div style={style}>
|
||||
<Accordion>
|
||||
<Panel header='Collapsible Group Item #1' eventKey='1'>
|
||||
|
||||
Reference in New Issue
Block a user