Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
- func Actions(props ...ActionsProps) templ.Component
- func Desc(props ...DescProps) templ.Component
- func Figure(props ...FigureProps) templ.Component
- func Stat(props ...StatProps) templ.Component
- func Stats(props ...Props) templ.Component
- func Title(props ...TitleProps) templ.Component
- func Value(props ...ValueProps) templ.Component
- type ActionsProps
- type DescProps
- type Direction
- type FigureProps
- type Props
- type StatProps
- type TitleProps
- type ValueProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Actions ¶
func Actions(props ...ActionsProps) templ.Component
func Figure ¶
func Figure(props ...FigureProps) templ.Component
func Title ¶
func Title(props ...TitleProps) templ.Component
func Value ¶
func Value(props ...ValueProps) templ.Component
Types ¶
type ActionsProps ¶
type ActionsProps struct {
ID string
Class string
Attributes templ.Attributes
}
ActionsProps configures the stat actions container.
type DescProps ¶
type DescProps struct {
ID string
Class string
Attributes templ.Attributes
}
DescProps configures the stat description.
type FigureProps ¶
type FigureProps struct {
ID string
Class string
Attributes templ.Attributes
}
FigureProps configures the stat figure (icon/image container).
type Props ¶
type Props struct {
ID string
Class string
Attributes templ.Attributes
Direction Direction
}
Props configures the stats container.
type StatProps ¶
type StatProps struct {
ID string
Class string
Attributes templ.Attributes
}
StatProps configures an individual stat block.
type TitleProps ¶
type TitleProps struct {
ID string
Class string
Attributes templ.Attributes
}
TitleProps configures the stat title.
type ValueProps ¶
type ValueProps struct {
ID string
Class string
Attributes templ.Attributes
}
ValueProps configures the stat value.
Click to show internal directories.
Click to hide internal directories.