WebRenderer
The WebRenderer
is a prebuilt instance of a UserInterface that is included in the Wharf product suite. It can be included in a project to provide a base user experience for processes in web applications that require user interactivity. The full source code for the WebRenderer
can be found on Github.
Installing
yarn add @wharfkit/web-renderer
Usage
When instantiating the SessionKit, the WebRenderer
can be passed in through the ui
field.
import { SessionKit } from "@wharfkit/session"
import { WebRenderer } from "@wharfkit/web-renderer"
const sessionKit = new SessionKit({
// ...arguments
ui: new WebRenderer(),
})