@towsila/icons 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towsila/icons",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Towsila icon library",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -0,0 +1,14 @@
1
+ import Svg, { Path, SvgProps } from "react-native-svg";
2
+ import React from "react";
3
+ interface Props extends SvgProps {
4
+ color?: string;
5
+ }
6
+
7
+ export default function Location({ width = 20, height = 20, color = "#000000", ...props }: Props){
8
+ return (
9
+ <Svg width={width} height={height} viewBox="0 0 20 20" fill="none" {...props}>
10
+ <Path d="M10 1.875C9.2942 1.82126 8.56915 1.89668 7.87459 2.10789C5.73318 2.72287 3.92422 4.79916 3.85597 7.22656C4.08168 11.6276 6.58008 15.0471 8.85944 18.3463C8.98608 18.521 9.15967 18.6693 9.35777 18.77C9.5557 18.8711 9.77775 18.9244 10 18.9242C10.0001 18.9242 10.0001 18.9242 10.0002 18.9242C10.2224 18.9243 10.4444 18.871 10.6422 18.77C10.8403 18.6693 11.0139 18.521 11.1444 18.3412C13.4206 15.0477 15.9192 11.6276 16.144 7.22656C16.0758 4.79916 14.2668 2.72287 12.1254 2.10789C11.4309 1.89668 10.7058 1.82126 10 1.875C10.706 1.92798 11.3924 2.1045 12.0181 2.3923C13.9569 3.25955 15.2332 5.26398 15.106 7.22656C14.6221 10.8704 12.0833 14.2489 9.85562 17.395C9.86849 17.3769 9.89093 17.3575 9.91661 17.3443C9.94227 17.3311 9.97111 17.3242 9.99997 17.3242C9.99998 17.3242 9.99999 17.3242 10 17.3242C10.0289 17.3242 10.0577 17.3311 10.0834 17.3443C10.1091 17.3575 10.1315 17.3769 10.1483 17.4003C7.91742 14.2486 5.37852 10.87 4.89403 7.22656C4.76676 5.26398 6.0431 3.25955 7.98194 2.3923C8.60757 2.1045 9.29398 1.92798 10 1.875ZM10 1.875" fill={color}/>
11
+ <Path d="M10 5.625C9.80327 5.67829 9.62396 5.75949 9.46733 5.86087C8.83233 6.27146 8.61023 6.97116 8.725 7.5C8.85941 8.17642 9.44117 8.58244 10 8.575C10 8.575 10 8.575 10 8.575C10.5588 8.58244 11.1406 8.17642 11.275 7.5C11.3898 6.97116 11.1677 6.27146 10.5327 5.86087C10.376 5.75949 10.1967 5.67829 10 5.625C10.1966 5.57157 10.4096 5.55167 10.6266 5.57173C11.5015 5.63193 12.3836 6.44539 12.475 7.5C12.658 8.82106 11.4387 10.2161 10 10.175C10 10.175 10 10.175 10 10.175C8.56135 10.2161 7.34202 8.82106 7.525 7.5C7.61638 6.44539 8.49853 5.63193 9.37345 5.57173C9.59039 5.55167 9.80344 5.57157 10 5.625ZM10 5.625" fill={color}/>
12
+ </Svg>
13
+ )
14
+ }
package/src/index.ts CHANGED
@@ -23,4 +23,5 @@ export {default as Shield} from "./icons/shield";
23
23
  export {default as Trash} from "./icons/trash";
24
24
  export {default as Warning} from "./icons/warning";
25
25
  export {IconType} from "./types/iconType";
26
- export {default as Picker} from "./icons/picker";
26
+ export {default as Picker} from "./icons/picker";
27
+ export {default as Location} from "./icons/location";