alert

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 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

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

func Title

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

Types

type DescriptionProps

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

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

type Variant

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