How to use it

Lyre Text UI relies on exports to function. Here is the list of exports:

  1. addTextUI : Allows add a Text UI.

  2. removeTextUI : Allow you to remove a specific Text UI.

  3. setStyleArgs : Provides interaction with certain styling features.

  4. editTextUI : Allow edit an existing Text UI

There are several types of instructions that you can display on the text UI with the addTextUI export:

  1. text: This represents simple text, which can be formatted with HTML code.

"Text" text ui example with the "heavy" theme
  1. keyboard: This represents a key, followed by text.

"Keyboard" text ui example with the "heavy" theme
  1. progress: This represents a progress bar.

"Progress" text ui example with the "heavy" theme

Correct export usage will be something like:

Here is a simple example of usage: