import React, { Component } from 'react'
import { View, Image } from 'react-native'
import ImageLayout from 'react-native-image-layout'
import { Container, Content, Card, CardItem } from 'native-base'
import { view } from '../styles/'
import EStyleSheet from 'react-native-extended-stylesheet'
import { UserContext } from '../context/UserContext'
import Header from '../components/Header'
import images from '../assets'
const s = EStyleSheet.create({
...view,
image: {
height: 400,
left: 0,
right: 0,
flex: 1
}
});
class Recomendaciones extends Component {
static navigationOptions = {
// headerTitle instead of title
headerTitle: <Header title={'Recomendaciones'} withBack />,
};
constructor(props) {
super(props)
}
render() {
return (
<ImageLayout
images={[
{source: require("../assets/reco1.png"), width: 1600, height: 1600},
{source: require("../assets/reco2.png"), width: 1600, height: 1600}
]}
/>
);
}
}
export default Recomendaciones;
Software Package Version:
Describe the bug
Error when trying to load local images.
Screenshots

Version (please complete the following information):