Files
react-native-paper/example/main.js
Ahmed Elhanafy bd2f2a1b66 Touchable component (#34)
* Initial implementation of Touchable component

* Export touchable component

* Fix export statement

* Edit Touchable Component

* Fix export statement

* Update example app with usage of touchable component

* Make eslint happy

* Change style propType

* Change Touchable name => TouchableRipple, add check on older versions of Android and change borderLess prop to borderless

* Remove usage of TouchableRipple from example app
2016-10-24 02:39:34 +05:30

28 lines
459 B
JavaScript

import Exponent from 'exponent';
import React from 'react';
import {
StyleSheet,
Text,
View,
} from 'react-native';
class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Text>React Native Paper will rock :D</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
marginTop: 24,
alignItems: 'center',
},
});
Exponent.registerRootComponent(App);