sg-delivery-partner/app/components/icons/locationPinIcon.tsx
2026-07-02 14:34:19 +05:30

34 lines
809 B
TypeScript

import React from 'react';
import Svg, { Path, Circle } from 'react-native-svg';
import { ViewStyle } from 'react-native';
interface IconProps {
size?: number;
color?: string;
style?: ViewStyle;
}
export const LocationPinIcon: React.FC<IconProps> = ({ size = 24, color = '#666', style }) => {
return (
<Svg width={size} height={size} viewBox="0 0 24 24" fill="none" style={style}>
<Path
d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
<Circle
cx="12"
cy="10"
r="3"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Svg>
);
};
export default LocationPinIcon;