Skip to content

Commit

Permalink
Updated types on other Icon usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolt9k committed May 5, 2023
1 parent 4abbb6f commit 70bf206
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/action.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from 'react';
import {View, Text, Colors} from 'react-native-ui-lib';
import {Bounceable} from 'rn-bounceable';
import {Icon} from './icon';
import {Icon, IconName} from './icon';

type ActionProps = {
title: string;
icon?: string;
rightIcon?: string;
icon?: IconName;
rightIcon?: IconName;
info?: string;
disabled?: boolean;
onPress?: () => void;
Expand Down
4 changes: 2 additions & 2 deletions src/screens/playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import {useStores} from '@app/stores';
import {useServices} from '@app/services';
import {useAppearance} from '@app/utils/hooks';
import {Row} from '@app/components/row';
import {Icon} from '@app/components/icon';
import {Icon, IconName} from '@app/components/icon';
import {Section} from '@app/components/section';
import {Alert} from 'react-native';

type SectionData = {
content: {
title: string;
subtitle?: string;
icon: string;
icon: IconName;
onPress: PureFunc;
}[];
};
Expand Down

0 comments on commit 70bf206

Please sign in to comment.