()
| 105 | } |
| 106 | |
| 107 | render() { |
| 108 | const AIRMapHeatmap = this.getNativeComponent(); |
| 109 | const propGradient = this.props?.gradient; |
| 110 | let gradient: NativeProps['gradient']; |
| 111 | if (propGradient) { |
| 112 | const colors = propGradient.colors.map(c => processColor(c)); |
| 113 | gradient = {...propGradient, colors}; |
| 114 | } |
| 115 | return ( |
| 116 | <AIRMapHeatmap {...this.props} gradient={gradient} ref={this.heatmap} /> |
| 117 | ); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | export default decorateMapComponent(MapHeatmap, 'Heatmap', { |
nothing calls this directly
no outgoing calls
no test coverage detected