Skip to content

Commit a7350cc

Browse files
committed
deleted react native image props
1 parent 4a4b503 commit a7350cc

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/components/CompanyLogo.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { darkBinarLogo, darkLogoSygnet, lightBinarLogo, lightLogoSygnet } from '@baca/constants'
22
import { ColorSchemeName, useColorScheme } from '@baca/contexts'
3-
import { Image } from 'expo-image'
4-
import { ImageProps, ImageStyle } from 'react-native'
3+
import { Image, ImageStyle, ImageProps } from 'expo-image'
54

65
type LogoTypes = 'binarSygnet' | 'binar'
76

src/components/molecules/SocialButtons/SocialButton.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ import { googleIcon } from '@baca/constants'
22
import { useColorScheme } from '@baca/contexts'
33
import { Button, ButtonProps, Icon } from '@baca/design-system'
44
import i18n from '@baca/i18n'
5-
import { Image, ImageStyle } from 'expo-image'
5+
import { Image, ImageStyle, ImageSource } from 'expo-image'
66
import { FC, useCallback } from 'react'
7-
import { ImageSourcePropType } from 'react-native'
87

98
type SocialMediaType = 'apple' | 'facebook' | 'google'
109

1110
const socialButtonVariants: {
1211
[key in SocialMediaType]: {
13-
source?: { light: ImageSourcePropType; dark?: ImageSourcePropType }
12+
source?: { light: ImageSource; dark?: ImageSource }
1413
text: () => string
1514
}
1615
} = {

0 commit comments

Comments
 (0)