-
-
Save spiritbroski/20fd81fa4f3f3b44904083d4df332246 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{listImages.length > 0 ? listImages.map((a, index) => { | |
a.color = "none" | |
return ( | |
<div key={index} style={{ display: "inline-block", border: a.color, cursor: "pointer" }} onClick={() => selectImage(index)}> | |
{a.color} | |
<PreviewImage appwrite={props.appwrite} width={300} output={"webp"} id={a.$id} /> | |
</div> | |
) | |
}) : ""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment