MCPcopy Create free account
hub / github.com/AllenFang/react-bootstrap-table / render

Method render

src/ExpandComponent.js:8–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6class ExpandComponent extends Component {
7
8 render() {
9 const { className } = this.props;
10 const trCss = {
11 style: {
12 backgroundColor: this.props.bgColor
13 },
14 className: classSet(className)
15 };
16 return (
17 <tr hidden={ this.props.hidden } width={ this.props.width } { ...trCss }>
18 <td colSpan={ this.props.colSpan }>
19 { this.props.children }
20 </td>
21 </tr>
22 );
23 }
24}
25
26export default ExpandComponent;

Callers

nothing calls this directly

Calls 1

classSetFunction · 0.85

Tested by

no test coverage detected