button_ui

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 8 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 IconButton added in v0.2.9

func IconButton(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
	Pending bool
}

Jump to

Keyboard shortcuts

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