瀏覽代碼

Import View from react-native (#1151)

Ryan Davies 7 年之前
父節點
當前提交
4921775cfa
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. 3
    2
      src/views/sharedElementTransition.ios.js

+ 3
- 2
src/views/sharedElementTransition.ios.js 查看文件

@@ -1,6 +1,7 @@
1
-import React, {Component, View} from 'react';
1
+import React, {Component} from 'react';
2 2
 import {
3
-  requireNativeComponent
3
+  requireNativeComponent,
4
+  View
4 5
 } from 'react-native';
5 6
 
6 7
 export default class SharedElementTransition extends Component {