summaryrefslogtreecommitdiffstats
path: root/components/ui/icon-symbol.ios.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/ui/icon-symbol.ios.tsx')
-rw-r--r--components/ui/icon-symbol.ios.tsx32
1 files changed, 0 insertions, 32 deletions
diff --git a/components/ui/icon-symbol.ios.tsx b/components/ui/icon-symbol.ios.tsx
deleted file mode 100644
index 9177f4d..0000000
--- a/components/ui/icon-symbol.ios.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import { SymbolView, SymbolViewProps, SymbolWeight } from 'expo-symbols';
-import { StyleProp, ViewStyle } from 'react-native';
-
-export function IconSymbol({
- name,
- size = 24,
- color,
- style,
- weight = 'regular',
-}: {
- name: SymbolViewProps['name'];
- size?: number;
- color: string;
- style?: StyleProp<ViewStyle>;
- weight?: SymbolWeight;
-}) {
- return (
- <SymbolView
- weight={weight}
- tintColor={color}
- resizeMode="scaleAspectFit"
- name={name}
- style={[
- {
- width: size,
- height: size,
- },
- style,
- ]}
- />
- );
-}