Skip to content

Commit

Permalink
Added alert button
Browse files Browse the repository at this point in the history
novaisea committed Mar 21, 2021
1 parent 59d00ba commit 1a12a59
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions components/AboutScreen.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import React, { Component } from 'react';
import { Button, View, Text } from 'react-native';

import { Button, View, Text} from 'react-native';


export default class Aboutscreen extends Component {

render() {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>About Screen</Text>
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center'}}>
<Text >RAM used: 0 </Text>
<Text>Number of lines used to develop this app: </Text>
<Button title="Info about the app" onPress={ ()=>{ alert('This app was developed to make comparisons with a similar iOS and Android apps that were developed to conclude if it is better to develop an app for iOS and Android separately or just make one app in React Native.')}} />
</View>
)
}

0 comments on commit 1a12a59

Please sign in to comment.