react-native-macos
Version:
[Microsoft Fork] A framework for building native apps using React
40 lines (35 loc) • 940 B
JavaScript
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
;
import Platform from '../../Utilities/Platform';
const AnimatedImplementation = Platform.isTesting
? require('./AnimatedMock')
: require('./AnimatedImplementation');
module.exports = {
get FlatList() {
return require('./components/AnimatedFlatList');
},
get Image() {
return require('./components/AnimatedImage');
},
get ScrollView() {
return require('./components/AnimatedScrollView');
},
get SectionList() {
return require('./components/AnimatedSectionList');
},
get Text() {
return require('./components/AnimatedText');
},
get View() {
return require('./components/AnimatedView');
},
...AnimatedImplementation,
};