#### With image
```jsx
const mediaItem = {
  thumbnailObjectUrl: 'https://placekitten.com/76/67',
  contentType: 'image/jpeg',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'image/jpeg',
  },
};
;
```
#### With video
```jsx
const mediaItem = {
  thumbnailObjectUrl: 'https://placekitten.com/76/67',
  contentType: 'video/mp4',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'video/mp4',
  },
};
;
```
#### Missing image
```jsx
const mediaItem = {
  contentType: 'image/jpeg',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'image/jpeg',
  },
};
;
```
#### Missing video
```jsx
const mediaItem = {
  contentType: 'video/mp4',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'video/mp4',
  },
};
;
```
#### Image thumbnail failed to load
```jsx
const mediaItem = {
  thumbnailObjectUrl: 'nonexistent',
  contentType: 'image/jpeg',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'image/jpeg',
  },
};
;
```
#### Video thumbnail failed to load
```jsx
const mediaItem = {
  thumbnailObjectUrl: 'nonexistent',
  contentType: 'video/mp4',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'video/mp4',
  },
};
;
```
#### Other contentType
```jsx
const mediaItem = {
  contentType: 'application/json',
  attachment: {
    fileName: 'foo.jpg',
    contentType: 'application/json',
  },
};
;
```