diff --git a/package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx b/package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx
index cdf15b46f4..74b0902af4 100644
--- a/package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx
+++ b/package/src/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.tsx
@@ -4,15 +4,13 @@ import { StyleSheet, View } from 'react-native';
import { CommandVariants } from 'stream-chat';
import { useTheme } from '../../contexts/themeContext/ThemeContext';
-import { Flag, GiphyIcon, Lightning, Mute, Sound, UserAdd, UserDelete } from '../../icons';
+import { Flag, GiphyIcon, Mute, Sound, UserAdd, UserDelete } from '../../icons';
import { Imgur } from '../../icons/Imgur';
+import { Lightning } from '../../icons/Lightning';
export const SuggestionCommandIcon = ({ name }: { name: CommandVariants }) => {
const {
- theme: {
- semantics,
- colors: { white },
- },
+ theme: { semantics },
} = useTheme();
if (name === 'ban') {
@@ -30,7 +28,7 @@ export const SuggestionCommandIcon = ({ name }: { name: CommandVariants }) => {
} else if (name === 'unmute') {
return ;
} else {
- return ;
+ return ;
}
};
diff --git a/package/src/components/ui/GiphyChip.tsx b/package/src/components/ui/GiphyChip.tsx
index 4d1574baca..dfd2379ff9 100644
--- a/package/src/components/ui/GiphyChip.tsx
+++ b/package/src/components/ui/GiphyChip.tsx
@@ -7,7 +7,7 @@ import { useMessageComposer } from '../../contexts/messageInputContext/hooks/use
import { useTheme } from '../../contexts/themeContext/ThemeContext';
import { useStateStore } from '../../hooks/useStateStore';
import { Cross } from '../../icons/Cross';
-import { NewLightning } from '../../icons/NewLightning';
+import { Lightning } from '../../icons/Lightning';
import { primitives } from '../../theme';
const textComposerStateSelector = (state: TextComposerState) => ({
@@ -32,7 +32,7 @@ export const GiphyChip = () => {
return (
-
+
{commandName}
diff --git a/package/src/icons/Archive.tsx b/package/src/icons/Archive.tsx
deleted file mode 100644
index ca670807ac..0000000000
--- a/package/src/icons/Archive.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import React from 'react';
-import Svg, { Path } from 'react-native-svg';
-
-import { IconProps } from './utils/base';
-
-export const Archive: React.FC = ({ height = 512, width = 512, ...rest }) => (
-
-);
diff --git a/package/src/icons/ChatIcon.tsx b/package/src/icons/ChatIcon.tsx
deleted file mode 100644
index e8afec4e30..0000000000
--- a/package/src/icons/ChatIcon.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-
-import { IconProps, RootPath, RootSvg } from './utils/base';
-
-export const ChatIcon = (props: IconProps) => (
-
-
-
-);
diff --git a/package/src/icons/DownloadCloud.tsx b/package/src/icons/DownloadCloud.tsx
deleted file mode 100644
index 4434fed152..0000000000
--- a/package/src/icons/DownloadCloud.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react';
-
-import { IconProps, RootPath, RootSvg } from './utils/base';
-
-export const DownloadCloud = (props: IconProps) => (
-
-
-
-
-
-
-);
diff --git a/package/src/icons/Error.tsx b/package/src/icons/Error.tsx
deleted file mode 100644
index bd85ca335c..0000000000
--- a/package/src/icons/Error.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-
-import { IconProps, RootPath, RootSvg } from './utils/base';
-
-export const Error = (props: IconProps) => (
-
-
-
-);
diff --git a/package/src/icons/Lightning.tsx b/package/src/icons/Lightning.tsx
index 9ca6c02750..4f398808f9 100644
--- a/package/src/icons/Lightning.tsx
+++ b/package/src/icons/Lightning.tsx
@@ -1,17 +1,13 @@
import React from 'react';
-import Svg, { Path } from 'react-native-svg';
+import { Path, Svg } from 'react-native-svg';
import { IconProps } from './utils/base';
-type Props = IconProps & {
- size: number;
-};
-
-export const Lightning = ({ size = 32, ...rest }: Props) => (
-