Documentation
¶
Index ¶
- func BadgePrimary(props ItemProps, children ...htmx.Node) htmx.Node
- func BadgeSecondary(props ItemProps, children ...htmx.Node) htmx.Node
- func Indicator(props Props, children ...htmx.Node) htmx.Node
- func Item(props ItemProps, children ...htmx.Node) htmx.Node
- func StatusError(props ItemProps, children ...htmx.Node) htmx.Node
- func StatusSuccess(props ItemProps, children ...htmx.Node) htmx.Node
- type ItemProps
- type Props
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadgePrimary ¶ added in v0.5.5
BadgePrimary is a function that returns a primary indicator item.
func BadgeSecondary ¶ added in v0.5.5
BadgeSecondary is a function that returns a secondary indicator item.
func StatusError ¶ added in v0.5.5
StatusError is a function that returns an error indicator item.
Types ¶
type ItemProps ¶ added in v0.5.4
type ItemProps struct {
htmx.ClassNames
}
ItemProps is a struct that contains the properties of an indicator item.
type Props ¶ added in v0.5.4
type Props struct {
htmx.ClassNames
}
Props is a struct that contains the properties of an indicator.
Click to show internal directories.
Click to hide internal directories.