onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.18 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const EditLocationAlt = ({ size = 'md', color = 'currentColor', style, }) => {
const sizeMap = { xs: 16, sm: 20, md: 24, lg: 32, xl: 40 };
const iconSize = typeof size === 'number' ? size : sizeMap[size];
return (React.createElement(Svg, { width: iconSize, height: iconSize, viewBox: "0 0 24 24", fill: "none", style: style },
React.createElement(Path, { d: "M9.848 11.573H11.858L19.422 4.009L17.412 2.000L11.573 7.839V11.573ZM19.052 3.043L18.379 2.370C18.009 2.000 17.412 2.000 17.043 2.370L16.360 3.052L18.370 5.062L19.052 4.379C19.422 4.009 19.422 3.412 19.052 3.043ZM16.389 9.725C16.445 10.066 16.483 10.427 16.483 10.815C16.483 12.436 15.460 15.213 10.796 19.479C6.133 15.223 5.109 12.436 5.109 10.815C5.109 6.995 8.038 4.938 10.796 4.938C11.100 4.938 11.412 4.967 11.716 5.014L13.280 3.450C12.483 3.194 11.649 3.043 10.796 3.043C6.815 3.043 3.213 6.095 3.213 10.815C3.213 13.962 5.744 17.687 10.796 22.000C15.848 17.687 18.379 13.962 18.379 10.815C18.379 9.858 18.227 8.976 17.953 8.161L16.389 9.725Z", fill: color })));
};
EditLocationAlt.displayName = 'EditLocationAlt';