浏览代码

auto commit

app
jfinn 3 年前
父节点
当前提交
f2d94f816a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      mdev/rn_vshot.native.js

+ 2
- 2
mdev/rn_vshot.native.js 查看文件

@@ -13,9 +13,9 @@ class ExampleCaptureOnMountManually extends Component {
13 13
   }
14 14
   render() {
15 15
     return (
16
-      <ViewShot ref="viewShot" options={{ format: "jpg", quality: 0.9 }}>
16
+      <captureScreen ref="viewShot" options={{ format: "jpg", quality: 0.9 }}>
17 17
         <Text>...Something to rasterize...</Text>
18
-      </ViewShot>
18
+      </captureScreen>
19 19
     );
20 20
   }
21 21
 }

正在加载...
取消
保存