Template: ((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

Returns

the HTML markup