From 1bb5a6cae2149d03376181ad3c52269e4c0c58a9 Mon Sep 17 00:00:00 2001 From: James Munro Date: Sun, 17 Feb 2019 13:11:10 +0000 Subject: [PATCH] Remove SnapshotViewIOS from public interface. --- Libraries/react-native/react-native-implementation.js | 3 --- RNTester/js/RNTesterApp.ios.js | 2 +- {Libraries/RCTTest => RNTester/js}/SnapshotViewIOS.android.js | 0 {Libraries/RCTTest => RNTester/js}/SnapshotViewIOS.ios.js | 0 4 files changed, 1 insertion(+), 4 deletions(-) rename {Libraries/RCTTest => RNTester/js}/SnapshotViewIOS.android.js (100%) rename {Libraries/RCTTest => RNTester/js}/SnapshotViewIOS.ios.js (100%) diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index d14722973dd932..fed60b27231c43 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -99,9 +99,6 @@ module.exports = { get Slider() { return require('Slider'); }, - get SnapshotViewIOS() { - return require('SnapshotViewIOS'); - }, get Switch() { return require('Switch'); }, diff --git a/RNTester/js/RNTesterApp.ios.js b/RNTester/js/RNTesterApp.ios.js index e6bf7457aac554..b29812efcfced3 100644 --- a/RNTester/js/RNTesterApp.ios.js +++ b/RNTester/js/RNTesterApp.ios.js @@ -21,12 +21,12 @@ const RNTesterExampleContainer = require('./RNTesterExampleContainer'); const RNTesterExampleList = require('./RNTesterExampleList'); const RNTesterList = require('./RNTesterList.ios'); const RNTesterNavigationReducer = require('./RNTesterNavigationReducer'); +const SnapshotViewIOS = require('./SnapshotViewIOS.ios'); const URIActionMap = require('./URIActionMap'); const { Button, AppRegistry, - SnapshotViewIOS, StyleSheet, Text, View, diff --git a/Libraries/RCTTest/SnapshotViewIOS.android.js b/RNTester/js/SnapshotViewIOS.android.js similarity index 100% rename from Libraries/RCTTest/SnapshotViewIOS.android.js rename to RNTester/js/SnapshotViewIOS.android.js diff --git a/Libraries/RCTTest/SnapshotViewIOS.ios.js b/RNTester/js/SnapshotViewIOS.ios.js similarity index 100% rename from Libraries/RCTTest/SnapshotViewIOS.ios.js rename to RNTester/js/SnapshotViewIOS.ios.js