button_ui

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeButton = "button"
	TypeSubmit = "submit"
)

Variables

This section is empty.

Functions

func CreateButton

func CreateButton(props Props, variantClass tempest.Tempest, nodes ...Node) Node

func EmeraldButton

func EmeraldButton(props Props, nodes ...Node) Node

func MainButton

func MainButton(props Props, nodes ...Node) Node

func PrimaryButton

func PrimaryButton(props Props, nodes ...Node) Node

func RedButton

func RedButton(props Props, nodes ...Node) Node

Types

type Props

type Props struct {
	Class tempest.Tempest
	Icon  string
	Size  string
	Type  string
	Link  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL