template

Defines a new button template that can be reused.

Parameters

name

The name of the template.

builder

The function to configure the button in the template.