import Image from "next/image"; import styles from "../styles/Components.module.css"; export default function BorderImage(props) { const { key, border, selected, size, onSelect, customImage } = props; const imageSize = size || 128; const classNames = [ styles.borderKeeper, selected == border.id ? styles.selected : undefined, ].join(" "); return (
user image { onSelect && onSelect(border.id); }} /> {`border { onSelect && onSelect(border.id); }} />
); }