Browse Source

use companionUrl in React Native example

Artur Paikin 6 năm trước cách đây
mục cha
commit
64dbd0f4d8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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} />