import * as React from 'react'
import {Props} from './oriented-image'
import Image from './image'

// OrientedImage will render a NativeImage.
// However, Oriented image is never rendered from a native component as mobile
// devices accurately read and respect EXIF Orientation data.
// This is done because the parent(s) of OrientedImage are split.
const OrientedImage = ({src, style}: Props) => {
  return <Image src={src} style={style} />
}
export default OrientedImage
