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
Haakon Gunleiksrud
IT2819_h19_p2_haakon
Commits
f74d8ed6
Commit
f74d8ed6
authored
Sep 25, 2019
by
mirree
Browse files
Fixed rewriting of NavigationDots
parent
8ad0b6ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
prosjekt2/src/components/NavigationDots.jsx
View file @
f74d8ed6
import
React
from
'
react
'
;
function
NavigationDots
(){
function
NavigationDots
(
props
){
return
(
<
div
className
=
"navDots"
>
<
button
className
=
"dot"
onClick
=
{
this
.
props
.
goToFirstSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
this
.
props
.
goToSecondSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
this
.
props
.
goToThirdSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
this
.
props
.
goToFourthSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
props
.
goToFirstSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
props
.
goToSecondSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
props
.
goToThirdSlide
}
></
button
>
<
button
className
=
"dot"
onClick
=
{
props
.
goToFourthSlide
}
></
button
>
</
div
>
);
}
...
...
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