Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 999 Bytes

WebRenderer.md

File metadata and controls

30 lines (22 loc) · 999 Bytes
title description category published
WebRenderer
An out-of-th-box interface for use with the Session Kit, to facilitate interactions with users of an application.
SessionKit
true

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(),
})