()
| 70 | return `rgb(${red},${green},${blue})`; |
| 71 | } |
| 72 | render() { |
| 73 | return ( |
| 74 | <tr className="row"> |
| 75 | {this.props.data.map((num) => ( |
| 76 | <td key={num} style={{ backgroundColor: this.getColor(num) }}> |
| 77 | {num} |
| 78 | </td> |
| 79 | ))} |
| 80 | </tr> |
| 81 | ); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | export default snapshot; |
nothing calls this directly
no outgoing calls
no test coverage detected