@towsila/icons 1.0.3 → 1.1.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/picker.tsx +18 -0
- package/src/index.ts +2 -1
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Svg, { Circle, Path, SvgProps } from "react-native-svg";
|
|
2
|
+
import React from "react";
|
|
3
|
+
|
|
4
|
+
interface Props extends SvgProps {
|
|
5
|
+
color?: string;
|
|
6
|
+
bgColor?: string;
|
|
7
|
+
}
|
|
8
|
+
export default function Picker({ width = 28, height = 28, color = "white",bgColor, ...props }: Props){
|
|
9
|
+
return (
|
|
10
|
+
<Svg width={width} height={height} viewBox="0 0 28 28" fill="none" {...props}>
|
|
11
|
+
<Path d="M0 14C0.466667 14.2 0.933333 14.39 1.4 14.57C5.6 16.19 9.8 17 14 17C18.2 17 22.4 16.19 26.6 14.57C27.0667 14.39 27.5333 14.2 28 14C27.5333 13.8 27.0667 13.61 26.6 13.43C22.4 11.81 18.2 11 14 11C9.8 11 5.6 11.81 1.4 13.43C0.933333 13.61 0.466667 13.8 0 14Z" fill={color}/>
|
|
12
|
+
<Path d="M14 0C13.8 0.466667 13.61 0.933333 13.43 1.4C11.81 5.6 11 9.8 11 14C11 18.2 11.81 22.4 13.43 26.6C13.61 27.0667 13.8 27.5333 14 28C14.2 27.5333 14.39 27.0667 14.57 26.6C16.19 22.4 17 18.2 17 14C17 9.8 16.19 5.6 14.57 1.4C14.39 0.933333 14.2 0.466667 14 0Z" fill={color}/>
|
|
13
|
+
<Path d="M14 5.5625C12.3312 5.5625 10.6999 6.05735 9.31238 6.98447C7.92484 7.9116 6.84338 9.22936 6.20477 10.7711C5.56616 12.3129 5.39907 14.0094 5.72463 15.6461C6.05019 17.2828 6.85378 18.7862 8.03379 19.9662C9.2138 21.1462 10.7172 21.9498 12.3539 22.2754C13.9906 22.6009 15.6871 22.4338 17.2289 21.7952C18.7706 21.1566 20.0884 20.0752 21.0155 18.6876C21.9427 17.3001 22.4375 15.6688 22.4375 14C22.4375 11.7622 21.5486 9.61612 19.9662 8.03379C18.3839 6.45145 16.2378 5.5625 14 5.5625Z" fill={bgColor}/>
|
|
14
|
+
<Path d="M14 5.5625C13.1164 5.50891 12.216 5.59835 11.3457 5.8309C10.5842 6.03402 9.84593 6.34641 9.16133 6.75842C7.69238 7.63852 6.48052 8.98727 5.75438 10.5845C5.02299 12.1788 4.78199 14.0138 5.09018 15.7723C5.39229 17.5314 6.24273 19.2047 7.50346 20.4965C8.75962 21.7925 10.4199 22.6999 12.1985 23.0569C12.7908 23.1769 13.3953 23.2375 14 23.2375C15.2092 23.2381 16.4179 22.9932 17.5303 22.5228C19.2009 21.8206 20.6448 20.6036 21.6157 19.0887C22.592 17.5768 23.0906 15.775 23.0375 14C22.9798 11.6298 21.9193 9.33677 20.2137 7.7863C19.1958 6.85144 17.9601 6.17821 16.6543 5.8309C15.7841 5.59832 14.8836 5.50889 14 5.5625C14.8837 5.61562 15.7501 5.80604 16.5604 6.12002C17.7765 6.59002 18.8635 7.33978 19.7187 8.28127C21.152 9.84712 21.9111 11.9472 21.8375 14C21.7895 15.5396 21.2849 17.0453 20.4153 18.2866C19.549 19.5305 18.3212 20.5062 16.9275 21.0677C15.9992 21.4436 14.9998 21.6379 13.9999 21.6375C13.5001 21.6375 13.0003 21.5894 12.5094 21.4938C11.036 21.2092 9.64812 20.4874 8.56412 19.4359C7.47742 18.3875 6.69857 17.0127 6.35907 15.5199C6.01557 14.0284 6.11335 12.4237 6.65516 10.9577C7.19272 9.49065 8.1735 8.16767 9.46343 7.21053C10.0644 6.7632 10.7305 6.39448 11.4396 6.12002C12.2499 5.80608 13.1163 5.61564 14 5.5625ZM14 5.5625" fill={color}/>
|
|
15
|
+
<Circle cx="14" cy="14" r="4" fill={color}/>
|
|
16
|
+
</Svg>
|
|
17
|
+
)
|
|
18
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -22,4 +22,5 @@ export {default as Settings} from "./icons/settingsIcon";
|
|
|
22
22
|
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
|
-
export {IconType} from "./types/iconType";
|
|
25
|
+
export {IconType} from "./types/iconType";
|
|
26
|
+
export {default as Picker} from "./icons/picker";
|