const showContextMenu = useContextMenu();
const [flipVertical, setFlipVertical] = useState(false);
const [flipHorizontal, setFlipHorizontal] = useState(false);
flipVertical={flipVertical}
flipHorizontal={flipHorizontal}
onContextMenu={showContextMenu([
icon: <IconCopy size={16} />,
onClick: () => copyImageToClipboard(src),
icon: <IconDownload size={16} />,
onClick: () => downloadImage(src),
icon: <IconFlipVertical size={16} />,
onClick: () => setFlipVertical((v) => !v),
icon: <IconFlipHorizontal size={16} />,
onClick: () => setFlipHorizontal((v) => !v),