Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
dgca committed Aug 17, 2024
1 parent ea08ec4 commit 189f199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui-kit/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/icons
/icons
4 changes: 2 additions & 2 deletions packages/ui-kit/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand All @@ -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,
Expand Down

0 comments on commit 189f199

Please sign in to comment.