import * as React from "react"; import * as d from "../../localData"; import type { ElementOperation } from "./ElementOperation"; import { Image } from "../ui/Image"; import { css } from "@emotion/css"; import { neverFunc } from "../../common/util"; export type ImageSelection = never; export type ImageValue = { readonly alternativeText: string; readonly value: d.ImageHash; readonly canEdit: boolean; }; const ImageSelectionView: ElementOperation< ImageSelection, ImageValue >["selectionView"] = React.memo((props) => { return (