import React from 'react' ; import { Image } from 'react-native' ; import AspectRatio from './AspectRatio' ; const AspectImage = props => < AspectRatio Component = { Image } { ... props } />; export default AspectImage ;