From 94999aad8e0f8aff7f878a7a6879561b1698e683 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Sat, 29 Nov 2025 13:15:50 +0200 Subject: [PATCH] remove unused icons --- src/lib/icons.tsx | 244 +--------------------------------------------- 1 file changed, 1 insertion(+), 243 deletions(-) diff --git a/src/lib/icons.tsx b/src/lib/icons.tsx index 4bea1ebeff..b508fc94b5 100644 --- a/src/lib/icons.tsx +++ b/src/lib/icons.tsx @@ -1,5 +1,5 @@ import {type StyleProp, type TextStyle, type ViewStyle} from 'react-native' -import Svg, {Ellipse, Line, Path, Rect} from 'react-native-svg' +import Svg, {Line, Path} from 'react-native-svg' // Copyright (c) 2020 Refactoring UI Inc. // https://github.com/tailwindlabs/heroicons/blob/master/LICENSE @@ -32,158 +32,6 @@ export function MagnifyingGlassIcon({ ) } -export function MagnifyingGlassIcon2({ - style, - size, - strokeWidth = 2, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - - ) -} - -export function CogIcon({ - style, - size, - strokeWidth = 1.5, -}: { - style?: StyleProp - size?: string | number - strokeWidth: number -}) { - return ( - - - - - ) -} - -// Copyright (c) 2020 Refactoring UI Inc. -// https://github.com/tailwindlabs/heroicons/blob/master/LICENSE -export function UserGroupIcon({ - style, - size, -}: { - style?: StyleProp - size?: string | number -}) { - return ( - - - - ) -} - -export function SquareIcon({ - style, - size, - strokeWidth = 1.3, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - ) -} - -export function RectWideIcon({ - style, - size, - strokeWidth = 1.3, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - ) -} - -export function RectTallIcon({ - style, - size, - strokeWidth = 1.3, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - ) -} - export function ComposeIcon2({ style, size, @@ -251,93 +99,3 @@ export function InfoCircleIcon({ ) } - -export function HandIcon({ - style, - size, - strokeWidth = 1.5, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - - - ) -} - -export function HashtagIcon({ - style, - size, - strokeWidth = 1.5, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - return ( - - - - - - - ) -} - -// Copyright (c) 2020 Refactoring UI Inc. -// https://github.com/tailwindlabs/heroicons/blob/master/LICENSE -export function ShieldExclamation({ - style, - size, - strokeWidth = 1.5, -}: { - style?: StyleProp - size?: string | number - strokeWidth?: number -}) { - let color = 'currentColor' - if ( - style && - typeof style === 'object' && - 'color' in style && - typeof style.color === 'string' - ) { - color = style.color - } - return ( - - - - ) -}