We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following component written in Typescript:
const Welcome = (p: any) => <View> <Image source={require('../assets/welcome-background.png')} /> </View> const styles = StyleSheet.create({ container: { flex: 1, width: null, height: null } })
which compiles to this:
const Welcome = (p) => React.createElement(View, null, React.createElement(Image, {source: require('../assets/welcome-background.png')})); const styles = StyleSheet.create({ container: { flex: 1, width: null, height: null } });
Thus is throwing me this error: Is there a flag or an alternative way to load the images in the source tag? (the image is in where it says to be)
The text was updated successfully, but these errors were encountered:
@nschurmann do you have a fix for this error?
Sorry, something went wrong.
No branches or pull requests
I have the following component written in Typescript:
which compiles to this:
Thus is throwing me this error:
Is there a flag or an alternative way to load the images in the source tag? (the image is in where it says to be)
The text was updated successfully, but these errors were encountered: