const showContextMenu = useContextMenu();
{images.map((image, index) => (
<Grid.Col xs={4} key={index}>
onContextMenu={showContextMenu([
icon: <IconCopy size={16} />,
onClick: () => copyImageToClipboard(image.file.src),
icon: <IconDownload size={16} />,
onClick: () => downloadImage(image.file.src),
icon: <IconLink size={16} />,
title: `Open ${image.author.name}’s profile`,
onClick: () => window.open(`https://unsplash.com/@${image.author.profile}`, '_blank'),