import { FavoriteItemProps } from '../model/types';

export const FavoriteItem = ({
  img,
  text
}: FavoriteItemProps) => {
  return (
    <>
      <div className="swiper-item">
        <div className="swiper-icon coin-icon">
          <img src={ img } alt={ text } />
        </div>
        <span className="swiper-text">{ text }</span>
      </div>
    </>
  );
};
