Skip to content

Commit

Permalink
refactor(icon): changed size type from number to NumberProp
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonVanzo committed Feb 10, 2024
1 parent d92acab commit 0c33932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/icons/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import React from 'react';
import type { IconType } from '../types/icon';
import type { ColorValue } from 'react-native';
import { getIconFilePath } from './utils/getIconFilePath';
import { SvgUri } from 'react-native-svg';
import { type NumberProp, SvgUri } from 'react-native-svg';

export type IconProps = {
color: ColorValue;
size: number;
size: NumberProp;
type: IconType;
};

Expand Down

0 comments on commit 0c33932

Please sign in to comment.