@towsila/icons 1.2.0 → 1.3.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 +1 -1
- package/src/icons/build.tsx +14 -0
- package/src/icons/pin.tsx +18 -0
- package/src/index.ts +3 -1
package/package.json
CHANGED
|
@@ -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 Build({ 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="M15.3861 7.53569C15.1419 7.75462 14.8156 7.86586 14.5023 7.84739C14.1885 7.83112 13.8918 7.68627 13.6915 7.46218C13.4758 7.22328 13.2597 6.98435 13.0434 6.74562C12.9308 6.62136 12.8181 6.49716 12.7054 6.37301C12.5177 6.16325 12.4225 5.88278 12.4388 5.61382C12.4531 5.34444 12.5778 5.08999 12.7703 4.91854C13.5879 4.17046 14.4034 3.41949 15.2166 2.66609C15.2638 2.62122 15.3039 2.55751 15.3265 2.48792C15.3493 2.4184 15.3545 2.34316 15.3415 2.27104C15.3286 2.19889 15.2975 2.13004 15.2519 2.07256C15.2063 2.01501 15.1463 1.96896 15.0787 1.93988C13.3628 1.14431 11.2046 1.4853 9.77915 2.82504C8.34559 4.16303 8.24467 6.29331 8.69212 7.94947C8.7152 8.04776 8.71029 8.15113 8.67934 8.24476C8.64862 8.33849 8.592 8.42223 8.51857 8.48464C6.31866 10.4255 4.13173 12.3873 1.96111 14.3669L1.96986 14.3591C1.83993 14.4741 1.72124 14.6019 1.61603 14.74C1.50032 14.8918 1.40094 15.056 1.32014 15.2289C1.16566 15.559 1.07985 15.9209 1.06967 16.2851C1.05911 16.6492 1.12418 17.0152 1.25945 17.3531C1.39437 17.6912 1.59933 18.0009 1.85745 18.2569C2.11529 18.5132 2.42601 18.7156 2.76405 18.8477C3.10195 18.9802 3.46683 19.0423 3.82879 19.0292C4.19077 19.0165 4.54945 18.9286 4.87558 18.7731C5.20188 18.618 5.4953 18.3954 5.73208 18.1239L5.72224 18.1348C7.70218 15.9387 9.66412 13.7261 11.608 11.4968C11.6813 11.4087 11.7821 11.3384 11.8959 11.299C12.0095 11.2593 12.1358 11.2506 12.2571 11.2761C13.8797 11.675 15.9049 11.5365 17.1617 10.1888C18.4251 8.78278 18.7501 6.74424 17.9684 5.10526C17.952 5.07325 17.9294 5.04693 17.902 5.02724C17.8747 5.00751 17.8427 4.99442 17.8095 4.98936C17.7764 4.98424 17.7421 4.98715 17.7103 4.9977C17.6786 5.0082 17.6495 5.02632 17.6262 5.05005C17.533 5.15275 17.4401 5.25526 17.3473 5.35781C16.6916 6.08188 16.0379 6.80785 15.3861 7.53569C16.1134 6.88324 16.8388 6.2289 17.5623 5.57268C17.6648 5.47974 17.7672 5.38677 17.8696 5.29376C17.8547 5.30903 17.8365 5.32056 17.8164 5.3273C17.7964 5.33407 17.7747 5.33603 17.7537 5.33289C17.7327 5.32979 17.7123 5.32161 17.6949 5.30917C17.6775 5.29675 17.663 5.2801 17.6531 5.26097C18.212 6.74826 17.7053 8.60566 16.6037 9.6229C15.549 10.5935 13.9362 10.6179 12.5465 10.1917C12.232 10.1007 11.892 10.097 11.5734 10.1828C11.2547 10.2678 10.9584 10.4419 10.7274 10.6822C8.66295 12.8037 6.61811 14.9399 4.59129 17.0928L4.58144 17.1037C4.4791 17.2151 4.35429 17.3049 4.21722 17.3664C4.0802 17.4279 3.93106 17.461 3.78179 17.4634C3.63251 17.4659 3.48322 17.4377 3.3458 17.3814C3.20831 17.3251 3.0828 17.2407 2.97917 17.1352C2.87542 17.0297 2.79363 16.9031 2.74017 16.7657C2.68657 16.6283 2.66135 16.4801 2.6664 16.333C2.6713 16.1859 2.70646 16.04 2.76902 15.907C2.80175 15.8373 2.84189 15.7711 2.88857 15.7098C2.931 15.6542 2.97882 15.6026 3.03117 15.5561L3.03992 15.5482C5.20784 13.5656 7.35945 11.5651 9.49476 9.54684C9.7604 9.29647 9.95136 8.97625 10.0442 8.63023C10.138 8.28442 10.1334 7.91401 10.0324 7.57277C9.60535 6.19394 9.65421 4.62328 10.5952 3.64719C11.5891 2.57904 13.3294 2.14976 14.7572 2.69077C14.7017 2.66684 14.6522 2.6288 14.6146 2.58128C14.577 2.53383 14.5514 2.47701 14.5408 2.41749C14.5302 2.35799 14.5345 2.29595 14.5533 2.23864C14.572 2.18127 14.6051 2.12877 14.6487 2.08725C13.89 2.90632 13.1395 3.72228 12.3913 4.54067C12.1199 4.83232 11.9762 5.22835 11.9929 5.61382C12.0068 5.9997 12.18 6.36971 12.4555 6.62226C12.5799 6.73531 12.7041 6.84798 12.8284 6.96058C13.0671 7.17692 13.3061 7.39305 13.5452 7.60897C13.8079 7.84814 14.1614 7.97142 14.5023 7.95282C14.8436 7.93668 15.1675 7.7798 15.3861 7.53569ZM15.3861 7.53569" fill={color}/>
|
|
11
|
+
<Path d="M3.75 16.875C4.09518 16.875 4.375 16.5952 4.375 16.25C4.375 15.9048 4.09518 15.625 3.75 15.625C3.40482 15.625 3.125 15.9048 3.125 16.25C3.125 16.5952 3.40482 16.875 3.75 16.875Z" fill={color}/>
|
|
12
|
+
</Svg>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Svg, { Mask, 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 Pin({ 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="M12.5 3.75C12.4467 4.01227 12.3553 4.25698 12.2337 4.47587C11.7446 5.36253 10.7927 5.76867 10 5.65C8.99067 5.52369 8.28447 4.64174 8.3 3.75C8.3 3.75 8.3 3.75 8.3 3.75C8.28447 2.85826 8.99067 1.97631 10 1.85C10.7928 1.73133 11.7446 2.13747 12.2337 3.02413C12.3553 3.24302 12.4467 3.48773 12.5 3.75C12.5535 3.48789 12.5631 3.20945 12.5228 2.93024C12.3842 1.80367 11.3185 0.737477 10 0.65C8.34602 0.458927 6.65077 1.97843 6.7 3.75C6.7 3.75 6.7 3.75 6.7 3.75C6.65077 5.52157 8.34602 7.04107 10 6.85C11.3185 6.76252 12.3842 5.69633 12.5228 4.56976C12.5631 4.29056 12.5535 4.01211 12.5 3.75ZM12.5 3.75" fill={color}/>
|
|
11
|
+
<Mask id="path-2-inside-1_2112_14410" fill="white">
|
|
12
|
+
<Path d="M10.6996 6.26394C10.6996 6.19394 10.6522 6.12681 10.5678 6.07731C10.4834 6.02781 10.369 6 10.2496 6H9.54961C9.43026 6 9.3158 6.02781 9.23141 6.07731C9.14702 6.12681 9.09961 6.19394 9.09961 6.26394V14.8732C9.09971 14.9979 9.14203 15.1213 9.22411 15.2363L9.72761 15.9402C9.74448 15.9583 9.76936 15.9734 9.79962 15.9839C9.82988 15.9944 9.86442 16 9.89961 16C9.9348 16 9.96934 15.9944 9.9996 15.9839C10.0299 15.9734 10.0547 15.9583 10.0716 15.9402L10.5751 15.2363C10.6572 15.1213 10.6995 14.9979 10.6996 14.8732V6.26394Z"/>
|
|
13
|
+
</Mask>
|
|
14
|
+
<Path d="M10.6996 6.26394C10.7122 6.18109 10.6528 6.09902 10.5853 6.04755C10.4893 5.97408 10.3711 5.93473 10.2496 5.919C10.074 5.89472 9.89833 5.87105 9.7227 5.848C9.665 5.84043 9.60731 5.83292 9.54961 5.82548C9.41401 5.81274 9.27297 5.82063 9.12188 5.89057C9.02062 5.9406 8.86992 6.0431 8.85372 6.26394C8.50543 9.13371 8.32133 12.0035 8.30142 14.8732C8.29904 15.1961 8.4228 15.4934 8.57305 15.701C8.59907 15.7375 8.62462 15.7733 8.65021 15.8091C8.79246 16.0079 8.93567 16.2061 9.07986 16.4035L9.14486 16.483C9.29886 16.6423 9.42753 16.6944 9.53821 16.7353C9.67107 16.7803 9.78489 16.7942 9.89961 16.7944C10.0143 16.7933 10.1279 16.7786 10.2602 16.7329C10.3704 16.6915 10.4983 16.6388 10.651 16.4799L10.7156 16.4009C10.88 16.1638 11.0431 15.9257 11.2047 15.6867C11.3505 15.4798 11.4681 15.1876 11.4625 14.8739C11.3839 12.3692 11.1802 9.86517 10.8516 7.36114C10.8036 6.99541 10.7529 6.62967 10.6996 6.26394C10.6463 6.62967 10.5956 6.99541 10.5476 7.36114C10.219 9.86517 10.0153 12.3692 9.9367 14.8732C9.93196 14.8201 9.95116 14.7822 9.945 14.7866C9.7715 15.0161 9.59886 15.2473 9.42757 15.4795L9.4922 15.4004C9.60589 15.283 9.68214 15.2576 9.73901 15.2349C9.80715 15.2114 9.85268 15.2066 9.89961 15.2056C9.94654 15.2058 9.99231 15.2097 10.061 15.2325C10.1184 15.2547 10.1954 15.2795 10.3104 15.3973L10.3754 15.4768C10.2351 15.2766 10.0938 15.077 9.95153 14.8782C9.92594 14.8424 9.90032 14.8066 9.87468 14.7709C9.87394 14.7687 9.89935 14.8116 9.8978 14.8726C9.87789 12.0035 9.69379 9.13371 9.3455 6.26394C9.3295 6.32012 9.30726 6.29229 9.34094 6.26404C9.38181 6.2234 9.46521 6.18812 9.54961 6.17452C9.60731 6.16708 9.665 6.15957 9.7227 6.152C9.89833 6.12895 10.074 6.10528 10.2496 6.081C10.3481 6.06614 10.4544 6.06995 10.5504 6.10706C10.6177 6.13388 10.6868 6.18213 10.6996 6.26394ZM10.6996 6.26394" fill={color} mask="url(#path-2-inside-1_2112_14410)"/>
|
|
15
|
+
<Path d="M10.9375 3.75C11.4553 3.75 11.875 3.33027 11.875 2.8125C11.875 2.29473 11.4553 1.875 10.9375 1.875C10.4197 1.875 10 2.29473 10 2.8125C10 3.33027 10.4197 3.75 10.9375 3.75Z" fill={color}/>
|
|
16
|
+
</Svg>
|
|
17
|
+
)
|
|
18
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -24,4 +24,6 @@ export {default as Trash} from "./icons/trash";
|
|
|
24
24
|
export {default as Warning} from "./icons/warning";
|
|
25
25
|
export {IconType} from "./types/iconType";
|
|
26
26
|
export {default as Picker} from "./icons/picker";
|
|
27
|
-
export {default as Location} from "./icons/location";
|
|
27
|
+
export {default as Location} from "./icons/location";
|
|
28
|
+
export {default as Pin} from "./icons/pin";
|
|
29
|
+
export {default as Build} from "./icons/build";
|