Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { Button, Text, View, StyleSheet } from 'react-native';
- export default function App() {
- let contador = 3;
- return (
- <View style={styles.container}>
- <Text>Clique aqui</Text>
- <Button title={contador}></Button>
- </View>
- );
- }
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'center',
- backgroundColor: '#ecf0f1',
- padding: 8,
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement