MCPcopy Create free account
hub / github.com/btholt/algorithms-exercises / render

Method render

src/sort-visualizer.js:72–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
85export default snapshot;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected