Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Prosjekt 4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
JogJ
Prosjekt 4
Merge requests
!16
cleanup and remove unnecassary files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
cleanup and remove unnecassary files
fix/cleanups
into
master
Overview
0
Commits
2
Pipelines
0
Changes
30
Merged
Jorunn Leithe
requested to merge
fix/cleanups
into
master
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
30
Expand
0
0
Merge request reports
Compare
master
version 1
d52e6113
4 years ago
master (base)
and
latest version
latest version
fac9e827
2 commits,
4 years ago
version 1
d52e6113
1 commit,
4 years ago
30 files
+
123
−
529
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
30
Search (e.g. *.vue) (Ctrl+P)
studentbyer/components/AddRating/AddStarRating/index.tsx
+
3
−
3
Options
import
*
as
React
from
"
react
"
;
import
Icon
from
"
react-native-vector-icons/FontAwesome5
"
;
import
{
View
}
from
"
../../Themed
"
;
import
{
View
}
from
"
react-native
"
;
const
AddStarRating
=
({
onPress
,
rating
,
size
,
size
}:
{
onPress
:
(
number
:
number
)
=>
void
;
rating
:
number
;
@@ -14,7 +14,7 @@ const AddStarRating = ({
const
array
=
[
1
,
2
,
3
,
4
,
5
];
return
(
<
View
style
=
{
{
flex
:
1
,
flexDirection
:
"
row
"
}
}
>
{
array
.
map
(
(
number
)
=>
{
{
array
.
map
(
number
=>
{
if
(
number
<=
rating
)
{
return
(
<
Icon
Loading