Pretty up code. Add all my default stuff that I like

This commit is contained in:
2025-01-28 10:17:33 -06:00
parent 5a821fc6b5
commit 0dfb7f190d
20 changed files with 191 additions and 182 deletions

View File

@@ -1,7 +1,7 @@
import { SymbolView, SymbolViewProps, SymbolWeight } from 'expo-symbols';
import { StyleProp, ViewStyle } from 'react-native';
export function IconSymbol({
export const IconSymbol = ({
name,
size = 24,
color,
@@ -13,7 +13,7 @@ export function IconSymbol({
color: string;
style?: StyleProp<ViewStyle>;
weight?: SymbolWeight;
}) {
}) => {
return (
<SymbolView
weight={weight}
@@ -29,4 +29,4 @@ export function IconSymbol({
]}
/>
);
}
};