Remove SnapshotViewIOS from public interface (#23497)

Summary:
Part of Lean Core #23313

Removes `SnapshotViewIOS` from the public RN interface.

I think there's a wider discussion to be had here about whether `RCTTest` should be part of the public distribution or at least whether this should be split into a separate utils package. It's mainly used by the RNTester app. It seems to be little known about but there are [some references to it online](https://blog.callstack.io/testing-your-react-native-apps-abfe41903dfd).

[iOS] [Removed] - `SnapshotViewIOS` is no longer publicly exported from RN
Pull Request resolved: https://github.com/facebook/react-native/pull/23497

Differential Revision: D14123280

Pulled By: cpojer

fbshipit-source-id: badaf6cb5d2195268f0f8b429fc11d6525747708
This commit is contained in:
James Munro 2019-02-18 04:01:20 -08:00 коммит произвёл Facebook Github Bot
Родитель 7030399ec8
Коммит 794da6a4e4
4 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -124,9 +124,6 @@ module.exports = {
);
return require('Slider');
},
get SnapshotViewIOS() {
return require('SnapshotViewIOS');
},
get Switch() {
return require('Switch');
},

Просмотреть файл

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