Browse Source

use companionUrl in React Native example

Artur Paikin 6 years ago
parent
commit
64dbd0f4d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/react-native-expo/App.js

+ 2 - 2
examples/react-native-expo/App.js

@@ -148,10 +148,10 @@ export default class App extends React.Component {
           uploadComplete={this.state.uploadComplete} />
 
         <UppyFilePicker
-          show={this.state.isFilePickerVisible}
           uppy={this.uppy}
+          show={this.state.isFilePickerVisible}
           onRequestClose={this.hideFilePicker}
-          serverUrl="http://localhost:3020" />
+          companionUrl="http://localhost:3020" />
 
         <FileList uppy={this.uppy} />