MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / render

Method render

src/MapPolygon.tsx:169–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 }
168
169 render() {
170 const {strokeColor = '#000', strokeWidth = 1} = this.props;
171 const AIRMapPolygon = this.getNativeComponent();
172 return (
173 <AIRMapPolygon
174 {...this.props}
175 strokeColor={strokeColor}
176 strokeWidth={strokeWidth}
177 ref={this.polygon}
178 />
179 );
180 }
181}
182
183export default decorateMapComponent(MapPolygon, 'Polygon', {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected