import PhotoGallery from './PhotoGallery'
import YoutubeVideo from './YouTubeVideo'
const MediaItem = (props) => {
const { type, title, data } = props
if (type !== 'video' && type !== 'photos') return null
const item =
type === 'video' ? (