To communicate between elements, just set 'data' property for Lightbox.
The object you pass into 'data' will be set as react element state in Lightbox,
and then all these states in Lightbox will be transferred to all children's props.
So you can use all these values as props in children elements.
To update these states in children elements, use 'setLightboxState' property method.