Function create

  • Create the pre-built UI for an ending.

    Parameters

    • text: string

      The primary display text

    • settings: HTMLSpanElement

      CTA directing users to the settings screen

    • theme: Theme = ...

      Theme used to style the UI

    Returns HTMLDivElement