Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <>
- {
- cards.map((card, index) =>
- <div className='card col-4 col-lg-4' key={index}>
- <div className='singleCard'>
- <img className='cardImage' src={card.image} alt="card" />
- </div>
- <div className='cardValue'>
- Points: {card.value}
- </div>
- </div>
- )
- }
- </>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement