Last change
on this file was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 3 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
348 bytes
|
Line | |
---|
1 | import { Wrapper, Arrow } from './styles';
|
---|
2 |
|
---|
3 | const arrows_number = 10;
|
---|
4 |
|
---|
5 | const Arrows = () => {
|
---|
6 | return (
|
---|
7 | <Wrapper>
|
---|
8 | {new Array(arrows_number).fill().map((_, index) => (
|
---|
9 | <Arrow
|
---|
10 | key={index}
|
---|
11 | className={`arrow arrow-${arrows_number - index - 1}`}
|
---|
12 | />
|
---|
13 | ))}
|
---|
14 | </Wrapper>
|
---|
15 | );
|
---|
16 | };
|
---|
17 |
|
---|
18 | export default Arrows;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.