`S3Image` component renders an _Amazon S3 object key_ as an image:

```jsx
import React from 'react';
import { Amplify } from 'aws-amplify';
import awsconfig from './aws-exports';
import { withAuthenticator, S3Image } from 'aws-amplify-react-native';
Amplify.configure(awsconfig);
const App = () => {
return ;
};
export default withAuthenticator(App);
```
For private images, supply the `level` property:
```jsx
return ;
```
To initiate an upload, set the `body` property:
```jsx
return ;
```
Set the `resizeMode` property to determine how to resize the image if the frame doesn't match the image dimensions:
