import type { UserType } from "@marzneshin/modules/users"; import QRCode from "react-qr-code"; import { QrCodeIcon } from "lucide-react"; import type { FC } from "react"; import { Card, CardContent, CardHeader, CardTitle, } from "@marzneshin/components"; import { useTranslation } from "react-i18next"; import { getSubscriptionLink } from "@marzneshin/utils"; export interface QRCodeProps { entity: UserType; } export const QRCodeSection: FC = ({ entity }) => { const subscribeQrLink = getSubscriptionLink(entity.subscription_url); const { t } = useTranslation(); return ( {t("subscription")} QRCode ); };