JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "link-image.tsx"

Full Path: /home/markqprx/iniasli.pro/resources/client/dashboard/links/link-image.tsx
File size: 422 bytes
MIME-type: text/plain
Charset: utf-8

import {Link} from '@app/dashboard/links/link';
import {RemoteFavicon} from '@common/ui/remote-favicon';
import React from 'react';

interface LinkImageProps {
  link: Link;
  className?: string;
}
export function LinkImage({link, className}: LinkImageProps) {
  return link.image ? (
    <img className={className} alt="" src={link.image} />
  ) : (
    <RemoteFavicon className={className} url={link.long_url} />
  );
}