LogBox only accepts an already-created config object. For simplicity in creating the standalone library, overload the "config" parameter to LogBox.init() to accept either a component instance or a component path, creating it where necessary.
Only took 6 years