()
| 8 | }; |
| 9 | |
| 10 | render() { |
| 11 | const { black } = this.props; |
| 12 | const backgroundColor = black ? 'black' : 'white'; |
| 13 | const color = black ? 'white' : 'black'; |
| 14 | |
| 15 | return ( |
| 16 | <div |
| 17 | style={{ |
| 18 | color, |
| 19 | backgroundColor, |
| 20 | width: '100%', |
| 21 | height: '100%', |
| 22 | }} |
| 23 | > |
| 24 | {this.props.children} |
| 25 | </div> |
| 26 | ); |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected