guild_front/src/components/Achievement/Achievement.js

20 lines
507 B
JavaScript
Raw Normal View History

2021-09-15 17:07:28 +03:00
import React from 'react'
import './achievement.scss'
export const Achievement = ({ achievement }) => {
return (
<div className='achievement'>
<div className='achievement__icon'>
<img src={achievement.img} alt='achievement' />
2021-09-15 17:07:28 +03:00
</div>
<div className='achievement__popup'>
<div className='achievement__title'>{achievement.title}</div>
<div className='achievement__description'>
{achievement.description}
</div>
</div>
</div>
)
}