mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Move SnapshotView to SnapshotViewIOS and create an unimplemented android version
Reviewed By: @andreicoman11 Differential Revision: D2536373 fb-gh-sync-id: 0f671e8198175a15540b74d54e53eee941aa0c1b
This commit is contained in:
committed by
facebook-github-bot-9
parent
a102e6f587
commit
19e11232fe
@@ -19,7 +19,7 @@ var React = require('react-native');
|
||||
var {
|
||||
AppRegistry,
|
||||
Settings,
|
||||
SnapshotView,
|
||||
SnapshotViewIOS,
|
||||
StyleSheet,
|
||||
} = React;
|
||||
|
||||
@@ -85,9 +85,9 @@ COMPONENTS.concat(APIS).forEach((Example) => {
|
||||
render: function() {
|
||||
var Renderable = UIExplorerListBase.makeRenderable(Example);
|
||||
return (
|
||||
<SnapshotView>
|
||||
<SnapshotViewIOS>
|
||||
<Renderable />
|
||||
</SnapshotView>
|
||||
</SnapshotViewIOS>
|
||||
);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user