UNPKG

react-native-apple-healthkit

Version:

A React Native bridge module for interacting with Apple HealthKit data

50 lines (42 loc) 859 B
/** * Created by greg on 2016-06-27. */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Navigator, Text, View } from 'react-native'; class Index extends Component { render() { return ( <View style={styles.container}> <Text style={styles.welcome}> Index </Text> </View> ); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#F5FCFF', }, welcome: { fontSize: 20, textAlign: 'center', margin: 10, }, instructions: { textAlign: 'center', color: '#333333', marginBottom: 5, }, }); module.exports = Index; export default Index;