Template: ((context: Context) => string)

The template function to render a HTML markup of a button.

Type declaration

    • (context): string
    • Parameters

      • context: Context

        the template context containing the required data to render

      Returns string

      the HTML markup