"use client"; import { useEffect, useState } from "react"; import { IconEye, IconEyeOff } from "@tabler/icons-react"; import { Button } from "@kandev/ui/button"; import { Input } from "@kandev/ui/input"; import { Label } from "@kandev/ui/label"; export function GitHubPATForm({ workspaceId, value, onChange, disabled, }: { workspaceId: string; value: string; onChange: (value: string) => void; disabled?: boolean; }) { const [visible, setVisible] = useState(false); useEffect(() => { setVisible(false); }, [workspaceId]); return (

Kandev stores this token for this workspace. GitHub records actions as the token owner.

onChange(event.target.value)} placeholder="ghp_xxxxxxxxxxxx" autoComplete="off" disabled={disabled} className="h-11 pr-11 font-mono" />
); }