import { FC } from "react"; import { useTranslation } from "react-i18next"; import { ExternalLinkIcon } from "../../../Custom/ExternalLink"; import { ICredit } from "./Credit.type"; import { Spacer } from "./Spacer"; export const Credit: FC<{ credit: ICredit; lastElement: boolean; }> = ({ credit, lastElement }) => { const { t } = useTranslation(); return ( <> {t(credit.text)} {!lastElement ? : null} ); };