`Picker` is used to pick a file from local device storage. `PhotoPicker` and `TextPicker` components are specific to image and text file types . ![Image](/images/photo_picker_and_code.png) Listen to `PhotoPicker` onPick event: ```jsx import { PhotoPicker } from 'aws-amplify-react'; render() { console.log(data)} /> } ``` To display a preview, you can use `preview` directive: ```jsx console.log(dataURL)} /> ``` You can retrieve the URL of the image by implementing `onLoad` action. In this case, you may also want to hide the preview: ```jsx console.log(dataURL)} /> ```