Interface GoblinProvider

GoblinProvider interface.

interface GoblinProvider {
    constructor: any;
    setTheme: ((theme) => void);
    theme: Theme;
    triggerNotification: ((args) => void);
}

Constructors

constructor

Properties

setTheme: ((theme) => void)

A function to set theme to either "dark" or "light".

Type declaration

    • (theme): void
    • Parameters

      Returns void

theme: Theme

The current theme of the app.

triggerNotification: ((args) => void)

A function to trigger a notification to be shown.

Type declaration

Remarks

This function is used to provide title and other configuration to the notification and trigger it. Developer does not need to include any Notification component to their UI, it has been handled.

Generated using TypeDoc