Skip to content
Snippets Groups Projects
Commit 4acda48b authored by Andrea Magnussen's avatar Andrea Magnussen
Browse files

Merge branch '3-edit-start-screen-test' into 'master'

Resolve "Edit start screen test"

Closes #3

See merge request !3
parents c31f3947 210d6b9b
Branches 4-add-all-basic-views
No related tags found
1 merge request!3Resolve "Edit start screen test"
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import MyButton from './components/MyButton';
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<Text>Test</Text>
<MyButton />
<StatusBar style="auto" />
</View>
);
......
import * as React from 'react';
import { Button } from 'react-native-paper';
const MyButton = () => (
<Button icon="camera" mode="contained" onPress={() => console.log('Pressed')}>
Press me
</Button>
);
export default MyButton;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment