import { View, Text, Button, Card, XStack } from "tamagui"; import React from "react"; import { MultiTapPressable } from "@/components/ui/pressable"; import Icons from "@/components/ui/icons"; import OSIcons from "@/components/ui/os-icons"; import Badge from "@/components/ui/badge"; type HostItemProps = { host: any; selected?: boolean; onMultiTap: () => void; onTap?: () => void; onEdit?: (() => void) | null; }; const HostItem = ({ host, selected, onMultiTap, onTap, onEdit, }: HostItemProps) => { return ( {host.type === "group" ? ( ) : ( )} {host.label} {host.tags?.length > 0 && ( {host.tags.map((i: any) => ( {i.name} ))} )} {host.host} {onEdit != null && ( )} ); }; export default HostItem;