Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/lib/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { createContext } from 'react';
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
import type { StyleProp, TextStyle, ViewStyle } from 'react-native';

export type IconWeight =
| 'thin'
Expand All @@ -11,15 +11,15 @@ export type IconWeight =

export interface IconProps {
color?: string;
duotoneColor?: string;
duotoneOpacity?: number;
mirrored?: boolean;
size?: string | number;
weight?: IconWeight;
style?: StyleProp<ViewStyle | TextStyle>;
mirrored?: boolean;
testID?: string;
duotoneColor?: string;
duotoneOpacity?: number;
title?: string; // SVGRProps
titleId?: string; // SVGRProps
weight?: IconWeight;
}

export type Icon = React.FC<IconProps>;
Expand Down