瀏覽代碼

use companionUrl in React Native example

Artur Paikin 6 年之前
父節點
當前提交
64dbd0f4d8
共有 1 個文件被更改,包括 2 次插入2 次删除
  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} />