Drag Object/Artwork from canvas to set Web Sharing thumbnail icon
Drag any object from the canvas to create a thumbnail image for web preview. See GIF
Risa Yuguchi commented
I want to add a prototype icon for share, dragging not only a image file but also an artboard in the xd file.