alert

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(props ...Props) templ.Component

func Description added in v1.1.0

func Description(props ...DescriptionProps) templ.Component

func Title added in v1.1.0

func Title(props ...TitleProps) templ.Component

Types

type DescriptionProps added in v1.1.0

type DescriptionProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Props

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Variant    Variant
}

type TitleProps added in v1.1.0

type TitleProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Variant added in v1.1.0

type Variant string
const (
	VariantDefault     Variant = "default"
	VariantDestructive Variant = "destructive"
)

Jump to

Keyboard shortcuts

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