79252502

Date: 2024-12-04 19:34:36
Score: 1
Natty:
Report link

have you tried specifying the type on the screen component? e.g.

import { FC } from 'react'

const SignInScreen: FC<any> = () => {
     const {height} = useWindowDimensions()

    return (
        <View style= {styles.root}>
          <Image source={Logo} style ={[styles.logo, {height: height * 0.3}]}
           resizeMode="contain" /> 
          <CustomInput />
       </View>
 )
}
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kaveh Movahedi