package ui

// BadgeProps is the input to the Badge templ component.
type BadgeProps struct {
	Label   string
	Variant BadgeVariant
}

templ Badge(props BadgeProps) {
	{{ class := BadgeClass(props.Variant) }}
	<span class={ class }>{ props.Label }</span>
}
