import { useWindowDimensions, StyleSheet } from 'react-native'; import { Svg, Defs, Rect, Mask, Polygon } from 'react-native-svg'; import React, { FC } from 'react'; import type { TPolygon } from '../../types'; const MapPolygon: FC = ({ path, fillOverlay, widthOverlayLine, colorWidthOverlayLine, backgroundOverlayPolygon, }) => { const { width, height } = useWindowDimensions(); return ( ); }; export default MapPolygon; const styles = StyleSheet.create({ container: { position: 'absolute', zIndex: 4, }, });