Documentation
¶
Index ¶
- func Description(props ...DescriptionProps) templ.Component
- func Item(props ...ItemProps) templ.Component
- func ItemFlex(props ...ItemProps) templ.Component
- func Label(props ...LabelProps) templ.Component
- func Message(props ...MessageProps) templ.Component
- type DescriptionProps
- type ItemProps
- type LabelProps
- type MessageProps
- type MessageVariant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Description ¶
func Description(props ...DescriptionProps) templ.Component
func Label ¶
func Label(props ...LabelProps) templ.Component
func Message ¶
func Message(props ...MessageProps) templ.Component
Types ¶
type DescriptionProps ¶
type DescriptionProps struct {
ID string
Class string
Attributes templ.Attributes
}
type LabelProps ¶
type MessageProps ¶
type MessageProps struct {
ID string
Class string
Attributes templ.Attributes
Variant MessageVariant
}
type MessageVariant ¶
type MessageVariant string
const ( MessageVariantError MessageVariant = "error" MessageVariantInfo MessageVariant = "info" )
Click to show internal directories.
Click to hide internal directories.