j-era/react-three-arnft

[FEATURE] Expose worker messages

ThomasRutzer opened this issue · 0 comments

Would be nice to expose worker messages:
https://github.com/j-era/react-three-arnft/blob/main/src/arnft/arnft.js#L102

Maybe a generic onWorkerMessage prop of NFTMarker?
An application, which uses this package, could then be use it to clarify states to the user, e.g.: loading / marker found / marker lost…