IIIF-Commons / thumbnail-panel

https://thumbnail-panel.netlify.app
MIT License
3 stars 1 forks source link

Make Thumbnail component to be used independently #35

Open adamjarling opened 1 year ago

adamjarling commented 1 year ago

Thumbnail component should be exported and be able to be used independently of ThumbnailPanel. Let's remove parent context, and pass in data the component needs via props.

Props: itemId size

Basically make this able to be used independently. Might need to pass in a callback function to grab item.id