import { Check, Copy, Share as ShareIcon } from 'lucide-react'; import { canShareLink, shareLink } from '../../native/shareLink'; /** The round icon buttons next to the link: copy and share, the same size. */ const ACTION = 'flex h-[34px] w-[34px] flex-none items-center justify-center rounded-full bg-m-act text-m-actfg'; /** * A link to hand on, read-only, with copy and (where the system has a share * sheet) share next to it: the trip's share and invite links and a journey's * public link all look the same. */ export default function MLinkField({ url, copied, onCopy, copyLabel, copiedLabel, shareLabel, }: { url: string; copied: boolean; onCopy: () => void; copyLabel: string; copiedLabel: string; shareLabel: string; }) { return (