function RunicInstanceProvider({ instance, children }: RunicInstanceProviderProps): ReactNode; Makes instance the Runic instance of its subtree: useView, useField, useText, useBridgeConnection, useAppearance and the other hooks below it connect and read through it instead of the page instance. A guest that renders inside another page, such as an embedded component, wraps its root in it.
const instance = createRunicInstance({ bridge });
root.render(<RunicInstanceProvider instance={instance}><App /></RunicInstanceProvider>);