From 189f1997a73b4a442cd408a748048761f7a3e6a8 Mon Sep 17 00:00:00 2001 From: Daniel Cortes Date: Fri, 16 Aug 2024 18:26:14 -0600 Subject: [PATCH] Clean up --- packages/ui-kit/.gitignore | 2 +- packages/ui-kit/src/components/Icon/Icon.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui-kit/.gitignore b/packages/ui-kit/.gitignore index ea82813..326b88f 100644 --- a/packages/ui-kit/.gitignore +++ b/packages/ui-kit/.gitignore @@ -1 +1 @@ -/icons \ No newline at end of file +/icons diff --git a/packages/ui-kit/src/components/Icon/Icon.tsx b/packages/ui-kit/src/components/Icon/Icon.tsx index 1b38bb8..53751a9 100644 --- a/packages/ui-kit/src/components/Icon/Icon.tsx +++ b/packages/ui-kit/src/components/Icon/Icon.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Platform, Text } from "react-native"; +import { Platform } from "react-native"; import * as ArrowLeftBottom from "./svg/arrow-left-bottom.svg"; const ICONS_MAP = { @@ -13,7 +13,7 @@ type Props = { color?: string; }; -export function Icon({ name, color = "pink" }: Props) { +export function Icon({ name, color }: Props) { const IconComponent = Platform.select({ native: () => ICONS_MAP[name].default, default: () => ICONS_MAP[name].ReactComponent,