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,