go-cook-portal/views/components/bootstrap/button.templ

11 lines
239 B
Plaintext
Raw Normal View History

package bootstrap
const (
ButtonTypeSubmit = "submit"
ButtonTypeDefault = "button"
)
templ BootstrapButton(message, variant, buttonType string) {
<button type={ buttonType } class={ getButtonVariant(variant) }>{ message }</button>
}