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; }; const HostItem = ({ host, selected, onMultiTap, onTap }: HostItemProps) => { return ( {host.type === "group" ? ( ) : ( )} {host.label} {host.tags?.length > 0 && ( {host.tags.map((i: any) => ( {i.name} ))} )} {host.host} ); }; export default HostItem;