To create custom controls for Pannellum you have to add them as children of the root element (well, if you want them to work in full screen mode). The only way I can do that at the moment is by using a Portal because ReactPannellum doesn't pass its children along.
Simply passing the child prop or a spreading the received props would be great and fix this issue.
To create custom controls for Pannellum you have to add them as children of the root element (well, if you want them to work in full screen mode). The only way I can do that at the moment is by using a Portal because ReactPannellum doesn't pass its children along.
Simply passing the child prop or a spreading the received props would be great and fix this issue.