about summary refs log tree commit diff
path: root/src/view/lib/icons.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/lib/icons.tsx')
-rw-r--r--src/view/lib/icons.tsx41
1 files changed, 12 insertions, 29 deletions
diff --git a/src/view/lib/icons.tsx b/src/view/lib/icons.tsx
index c160df3cc..05b1ec601 100644
--- a/src/view/lib/icons.tsx
+++ b/src/view/lib/icons.tsx
@@ -91,7 +91,7 @@ export function HomeIconSolid({
 
 // Copyright (c) 2020 Refactoring UI Inc.
 // https://github.com/tailwindlabs/heroicons/blob/master/LICENSE
-export function MangifyingGlassIcon({
+export function MagnifyingGlassIcon({
   style,
   size,
 }: {
@@ -116,33 +116,6 @@ export function MangifyingGlassIcon({
   )
 }
 
-// Copyright (c) 2020 Refactoring UI Inc.
-// https://github.com/tailwindlabs/heroicons/blob/master/LICENSE
-export function MangifyingGlassIconSolid({
-  style,
-  size,
-}: {
-  style?: StyleProp<ViewStyle>
-  size?: string | number
-}) {
-  return (
-    <Svg
-      fill="none"
-      viewBox="0 0 24 24"
-      strokeWidth={3}
-      stroke="currentColor"
-      width={size || 24}
-      height={size || 24}
-      style={style}>
-      <Path
-        strokeLinecap="round"
-        strokeLinejoin="round"
-        d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"
-      />
-    </Svg>
-  )
-}
-
 // https://github.com/Remix-Design/RemixIcon/blob/master/License
 export function BellIcon({
   style,
@@ -221,9 +194,11 @@ export function UserGroupIcon({
 export function UpIcon({
   style,
   size,
+  strokeWidth = 1.3,
 }: {
   style?: StyleProp<ViewStyle>
   size?: string | number
+  strokeWidth: number
 }) {
   return (
     <Svg
@@ -232,8 +207,10 @@ export function UpIcon({
       height={size || 24}
       style={style}>
       <Path
-        strokeWidth={1.3}
+        strokeWidth={strokeWidth}
         stroke="currentColor"
+        strokeLinecap="round"
+        strokeLinejoin="round"
         d="M 7 3 L 2 8 L 4.5 8 L 4.5 11.5 L 9.5 11.5 L 9.5 8 L 12 8 L 7 3 Z"
       />
     </Svg>
@@ -257,6 +234,8 @@ export function UpIconSolid({
         strokeWidth={1.3}
         stroke="currentColor"
         fill="currentColor"
+        strokeLinecap="round"
+        strokeLinejoin="round"
         d="M 7 3 L 2 8 L 4.5 8 L 4.5 11.5 L 9.5 11.5 L 9.5 8 L 12 8 L 7 3 Z"
       />
     </Svg>
@@ -279,6 +258,8 @@ export function DownIcon({
       <Path
         strokeWidth={1.3}
         stroke="currentColor"
+        strokeLinecap="round"
+        strokeLinejoin="round"
         d="M 7 11.5 L 2 6.5 L 4.5 6.5 L 4.5 3 L 9.5 3 L 9.5 6.5 L 12 6.5 L 7 11.5 Z"
       />
     </Svg>
@@ -302,6 +283,8 @@ export function DownIconSolid({
         strokeWidth={1.3}
         stroke="currentColor"
         fill="currentColor"
+        strokeLinecap="round"
+        strokeLinejoin="round"
         d="M 7 11.5 L 2 6.5 L 4.5 6.5 L 4.5 3 L 9.5 3 L 9.5 6.5 L 12 6.5 L 7 11.5 Z"
       />
     </Svg>