From 15712789ecd1b2fd5066c4c8ed11bc24b49dab3f Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Wed, 1 Jan 2025 13:47:00 -0600 Subject: [PATCH] omfg --- components/Global/icon.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/components/Global/icon.tsx b/components/Global/icon.tsx index 60f7500f..80b8f049 100644 --- a/components/Global/icon.tsx +++ b/components/Global/icon.tsx @@ -2,19 +2,13 @@ import React from "react" import MaterialCommunityIcons from "react-native-vector-icons/MaterialCommunityIcons" import { Colors } from "../../enums/colors" -const iconDimensions = { - width: 75, - height: 75 -} +const regularSize = 12; -const largeDimensions = { - width: 150, - height: 150 -} +const largeSize = 30 export default function Icon({ name, onPress, large }: { name: string, onPress?: Function, large?: boolean }) : React.JSX.Element { - let dimensions = large ? largeDimensions : iconDimensions + let size = large ? largeSize : regularSize return ( ) } \ No newline at end of file