Explorar o código

use companionUrl in React Native example

Artur Paikin %!s(int64=6) %!d(string=hai) anos
pai
achega
64dbd0f4d8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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} />