We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55365d6 + 0541daa commit 228f9bcCopy full SHA for 228f9bc
README.md
@@ -31,6 +31,21 @@ class ExampleCaptureOnMountManually extends Component {
31
);
32
}
33
34
+// ScrollView
35
+class ExampleCaptureScrollViewContent extends Component {
36
+ onCapture = uri => {
37
+ console.log("do something with ", uri);
38
+ }
39
+ render() {
40
+ return (
41
+ <ScrollView>
42
+ <ViewShot onCapture={this.onCapture} captureMode="mount">
43
+ <Text>...The Scroll View Content Goes Here...</Text>
44
+ </ViewShot>
45
+ </ScrollView>
46
+ );
47
48
+}
49
50
// alternative
51
class ExampleCaptureOnMountSimpler extends Component {
@@ -63,7 +78,6 @@ class ExampleWaitingCapture extends Component {
63
78
64
79
65
80
```
66
-
67
81
**Props:**
68
82
69
83
- **`children`**: the actual content to rasterize.
0 commit comments