func badge<S>(S?) -> some View
Generates a badge for the view from a string.
func badge(LocalizedStringKey ?) -> some View
Generates a badge for the view from a localized string key.
func badge(Int) -> some View
Generates a badge for the view from an integer value.