Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Salamander - APP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eirik Martin Danielsen
Salamander - APP
Commits
4acda48b
Commit
4acda48b
authored
4 years ago
by
Andrea Magnussen
Browse files
Options
Downloads
Plain Diff
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
Branches containing commit
No related tags found
1 merge request
!3
Resolve "Edit start screen test"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
salamander-app/App.js
+3
-1
3 additions, 1 deletion
salamander-app/App.js
salamander-app/components/MyButton.js
+10
-0
10 additions, 0 deletions
salamander-app/components/MyButton.js
with
13 additions
and
1 deletion
salamander-app/App.js
+
3
−
1
View file @
4acda48b
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
>
);
...
...
This diff is collapsed.
Click to expand it.
salamander-app/components/MyButton.js
0 → 100644
+
10
−
0
View file @
4acda48b
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment