campos20

Untitled

Nov 24th, 2020
617
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { Button, Text, View, StyleSheet } from 'react-native';
  3.  
  4. export default function App() {
  5.   let contador = 3;
  6.  
  7.   return (
  8.     <View style={styles.container}>
  9.       <Text>Clique aqui</Text>
  10.       <Button title={contador}></Button>
  11.     </View>
  12.   );
  13. }
  14.  
  15. const styles = StyleSheet.create({
  16.   container: {
  17.     flex: 1,
  18.     justifyContent: 'center',
  19.     backgroundColor: '#ecf0f1',
  20.     padding: 8,
  21.   },
  22. });
  23.  
RAW Paste Data