Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IT2810 H21
Team 05
prosjekt4
Commits
de603976
Commit
de603976
authored
Nov 17, 2021
by
ErlendHer
Browse files
#15
add loading spinner to LoginComponent
parent
149775dd
Changes
1
Show whitespace changes
Inline
Side-by-side
components/LoginComponent.tsx
View file @
de603976
...
...
@@ -13,6 +13,7 @@ import {
useWindowDimensions
,
Button
,
Pressable
,
ActivityIndicator
,
}
from
'
react-native
'
;
import
CustomInput
from
'
./CustomInput
'
;
import
AwesomeAlert
from
'
react-native-awesome-alerts
'
;
...
...
@@ -84,7 +85,6 @@ export default function App() {
width
:
'
70%
'
,
height
:
'
100%
'
,
},
logo
:
{
minWidth
:
200
,
maxWidth
:
300
,
...
...
@@ -171,6 +171,7 @@ export default function App() {
setAlertmessage
(
''
);
}
}
/>
{
loading
&&
<
ActivityIndicator
size
=
"large"
color
=
"#00ff00"
/>
}
</
View
>
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment