Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Commit f505cd8

Browse files
kdinevCopilot
andauthored
Update en/components/badge.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0febcf1 commit f505cd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/components/badge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The `[icon]` input takes precedence over `[value]`. When both inputs are set, th
153153

154154
```html
155155
<!-- The icon "check" will be shown; the value "5" will be ignored -->
156-
<igx-badge [icon]="'check'" [value]="5" type="success"></igx-badge>
156+
<igx-badge icon="check" [value]="5" type="success"></igx-badge>
157157
```
158158

159159
To display a numeric value without an icon, make sure `[icon]` is not set (or is `null`/empty):

0 commit comments

Comments
 (0)