Browse Source

auto commit

app
jfinn 3 years ago
parent
commit
f2d94f816a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      mdev/rn_vshot.native.js

+ 2
- 2
mdev/rn_vshot.native.js View File

@@ -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
 }

Loading…
Cancel
Save