import React from "react" import { NodeData } from "src/hooks/node-data" import ProfilePic from "src/ui/profile-pic" export default function DeviceDetailsView({ node }: { node: NodeData }) { return (

Device details

{node.DeviceName}

{/* TODO: connected status */}

Managed by
{/* TODO: tags display */}
{node.Profile.LoginName}

General

{/* TODO: pipe through these values */}
Creator {node.Profile.DisplayName}
Managed by {node.Profile.DisplayName}
Machine name {node.DeviceName}
OS MacOS
ID nPKyyg3CNTRL
Tailscale version {node.IPNVersion}
Key expiry 3 months from now

Addresses

Tailscale IPv4 {node.IP}
Tailscale IPv6 fd7a:115c:a1e0:ab12:4843:cd96:627a:f179
Short domain {node.DeviceName}
Full domain {node.DeviceName}.corp.ts.net

Want even more details? Visit{" "} this device’s page {" "} in the admin console.

) }