"use client";
import {
RiDownload2Line,
RiExternalLinkLine,
RiNotification3Line,
RiQrCodeLine,
RiShieldCheckLine,
} from "@remixicon/react";
import type { ReactNode } from "react";
import { ApiTokensForm } from "./api-tokens-form";
interface ApiToken {
id: string;
name: string;
tokenPrefix: string;
lastUsedAt: Date | null;
lastUsedIp: string | null;
createdAt: Date;
expiresAt: Date | null;
revokedAt: Date | null;
}
interface CompanionTabProps {
tokens: ApiToken[];
}
const steps: {
icon: typeof RiDownload2Line;
title: string;
description: ReactNode;
}[] = [
{
icon: RiDownload2Line,
title: "Instale o app",
description: (
<>
Baixe o APK no{" "}
GitHub
{index + 1}. {step.title}
{step.description}