Skip to content

Commit 65e5724

Browse files
PR adjustments
1 parent 99db08a commit 65e5724

File tree

9 files changed

+10
-16
lines changed

9 files changed

+10
-16
lines changed

src/components/BasicRow/BasicRowWithContact.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { BasicRow, BasicRowProps } from 'components/BasicRow/index'
22
import { Contact } from 'shared/types'
3-
4-
import UserIcon from '../icons/UserIcon'
3+
import { UserIcon } from 'components/icons/UserIcon'
54

65
export interface BasicRowWithContact extends BasicRowProps {
76
contact: Contact | undefined

src/components/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const AppButton = ({
153153
) : (
154154
<AppSpinner
155155
size={buttonHeight - defaultPadding * 2}
156-
color={textColor as string}
156+
color={textColor.toString()}
157157
/>
158158
)}
159159
{rightIcon ? (

src/components/icons/DeployWalletImage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Svg, { ClipPath, Defs, G, Path, Rect, SvgProps } from 'react-native-svg'
22

33
import { sharedColors } from 'src/shared/constants'
44

5-
const DeployWalletImage = ({
5+
export const DeployWalletImage = ({
66
width = 232,
77
height = 352,
88
...props
@@ -74,4 +74,3 @@ const DeployWalletImage = ({
7474
</Defs>
7575
</Svg>
7676
)
77-
export default DeployWalletImage

src/components/icons/HomeIcon.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants'
44

55
import { FooterIconInterface } from '.'
66

7-
const HomeIcon = ({
7+
export const HomeIcon = ({
88
active = false,
99
activeColor = sharedColors.primary,
1010
...props
@@ -17,4 +17,3 @@ const HomeIcon = ({
1717
/>
1818
</Svg>
1919
)
20-
export default HomeIcon

src/components/icons/NetworkIcon.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants'
44

55
import { FooterIconInterface } from '.'
66

7-
const NetworkIcon = ({
7+
export const NetworkIcon = ({
88
active = false,
99
activeColor = sharedColors.primary,
1010
...props
@@ -17,4 +17,3 @@ const NetworkIcon = ({
1717
/>
1818
</Svg>
1919
)
20-
export default NetworkIcon

src/components/icons/UserIcon.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ export const UserIcon = ({
2222
/>
2323
</Svg>
2424
)
25-
26-
export default UserIcon

src/components/icons/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StyleProp, TextProps, TextStyle } from 'react-native'
1+
import { ColorValue, StyleProp, TextProps, TextStyle } from 'react-native'
22
import { SvgProps } from 'react-native-svg'
33

44
export interface SVGIconInterface {
@@ -15,7 +15,7 @@ export interface MaterialIconInterface extends TextProps {
1515

1616
export interface FooterIconInterface extends SvgProps {
1717
active?: boolean
18-
activeColor?: string
18+
activeColor?: ColorValue
1919
}
2020

2121
export { Arrow } from './Arrow'

src/screens/settings/RelayDeployScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { sharedHeaderLeftOptions } from 'navigation/index'
2020
import { rootTabsRouteNames } from 'navigation/rootNavigator'
2121
import { homeStackRouteNames } from 'navigation/homeNavigator/types'
2222
import { useWholeWalletWithSetters } from 'shared/wallet'
23-
import DeployWalletImage from 'src/components/icons/DeployWalletImage'
23+
import { DeployWalletImage } from 'components/icons/DeployWalletImage'
2424

2525
import { TokenSymbol } from '../home/TokenImage'
2626

src/ux/appFooter/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { homeStackRouteNames } from 'navigation/homeNavigator/types'
77
import { rootTabsRouteNames } from 'navigation/rootNavigator'
88
import { sharedColors, sharedStyles } from 'shared/constants'
99
import { castStyle } from 'shared/utils'
10-
import HomeIcon from 'components/icons/HomeIcon'
11-
import NetworkIcon from 'components/icons/NetworkIcon'
10+
import { HomeIcon } from 'components/icons/HomeIcon'
11+
import { NetworkIcon } from 'components/icons/NetworkIcon'
1212
import { ScanIcon } from 'components/icons/ScanIcon'
1313
import TransactionsIcon from 'components/icons/TransactionsIcon'
1414
import UsersIcon from 'components/icons/UsersIcon'

0 commit comments

Comments
 (0)