mirror of
https://github.com/status-im/react-native.git
synced 2025-01-22 07:20:23 +00:00
642c13e3e3
- Fixed sticky section headers in ListView | Nick Lockwood - [ReactNative] AppState cleanup, remove Subscribable, add in OSS examples | Eric Vicenti - [react-packager] package.json cleanup (seperate packager into it's own package) | Amjad Masad - [ReactNative] Move PushNotificationIOS to oss | Tadeu Zagallo - [ReactNative] Fix shake gesture after RedBox is dismissed | Alex Kotliarskyi - [catlyst|madman] fix prop type warning | Jiajie Zhu - [ReactNative] Remove Subscribable from TextInput | Eric Vicenti - Unforked ExceptionsManager, AlertManager and AppState | Nick Lockwood - [ReactNative|MAdMan] Notification Subscribable | Eric Vicenti - [ReactNative] OSS AsyncStorage with example | Spencer Ahrens
47 lines
834 B
JavaScript
47 lines
834 B
JavaScript
/**
|
|
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
*
|
|
* @providesModule UIExplorerApp
|
|
*/
|
|
'use strict';
|
|
|
|
var React = require('react-native/addons');
|
|
var UIExplorerList = require('./UIExplorerList');
|
|
|
|
var {
|
|
AppRegistry,
|
|
NavigatorIOS,
|
|
StyleSheet,
|
|
} = React;
|
|
|
|
|
|
var UIExplorerApp = React.createClass({
|
|
|
|
render: function() {
|
|
return (
|
|
<NavigatorIOS
|
|
style={styles.container}
|
|
initialRoute={{
|
|
title: 'UIExplorer',
|
|
component: UIExplorerList,
|
|
}}
|
|
itemWrapperStyle={styles.itemWrapper}
|
|
tintColor='#008888'
|
|
/>
|
|
);
|
|
}
|
|
});
|
|
|
|
var styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
},
|
|
itemWrapper: {
|
|
backgroundColor: '#eaeaea',
|
|
},
|
|
});
|
|
|
|
AppRegistry.registerComponent('UIExplorerApp', () => UIExplorerApp);
|
|
|
|
module.exports = UIExplorerApp;
|