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
setIf set to a string, the URL query parameter with this name will be set to the doc id provided.
Props to the YDocProvider component.