Documentation
¶
Overview ¶
Package alerts provides functionality for managing and processing alerts within the system.
Index ¶
- func Alert(p Props, children ...htmx.Node) htmx.Node
- func Error(p Props, children ...htmx.Node) htmx.Node
- func Horizontal(p Props, children ...htmx.Node) htmx.Node
- func Info(p Props, children ...htmx.Node) htmx.Node
- func Success(p Props, children ...htmx.Node) htmx.Node
- func Vertical(p Props, children ...htmx.Node) htmx.Node
- func Warning(p Props, children ...htmx.Node) htmx.Node
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Horizontal ¶ added in v0.5.3
Horizontal is a component that displays a horizontal alert.
Types ¶
type Props ¶ added in v0.5.3
type Props struct {
// ClassNames are the class names for the alert component.
htmx.ClassNames
}
AlertProps is the type of the props for the Alert component.
Click to show internal directories.
Click to hide internal directories.