The endpoint to use for authentication or an async function that returns a client token.
The children to render.
The doc id to use for the Y.Doc.
Optional initialAn optional initial client token to use for the Y.Doc. This will be used initially, and if
the client token expires, the authEndpoint will be called to get a new client token.
Optional offlineWhether to enable offline support. Document state will be stored on the client side for offline use and faster startup times.
Defaults to true.
Optional setIf set to a string, the URL query parameter with this name will be set to the doc id provided.
Optional showWhether to show the debugger link. Defaults to true.
Optional warnWhether to warn when closing tab with unsynchronized changes.
Defaults to false.
Props to the YDocProvider component.