mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-15 10:28:13 +08:00
* 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
28 lines
459 B
JavaScript
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);
|