Closed Dr-Dd closed 1 year ago
Please check examples
<Item
original="https://placekitten.com/1024/768?image=1"
thumbnail="https://placekitten.com/80/60?image=1"
width="1024"
height="768"
>
{({ ref, open }) => (
<img ref={ref} onClick={open} src="https://placekitten.com/80/60?image=1" />
)}
</Item>
Describe the bug Using the plugin inside of a GatsbyJS instance gives out the following error when trying to render it
"TypeError: children is not a function"
To Reproduce Steps to reproduce the behavior:
Expected behavior The gallery gets generated as usual
Desktop (please complete the following information):
Code: