docs: Uses the self-closing tag syntax

(cherry picked from commit 9ec964334e)
This commit is contained in:
SkyZeroZx 2025-11-13 19:08:32 -05:00 committed by Jessica Janiuk
parent 853fd9d4cf
commit e0a6dadf1b

View file

@ -18,7 +18,7 @@ export class CustomCard {/* ... */}
```angular-ts
@Component({
selector: 'custom-card',
template: '<div class="card-shadow"> <ng-content></ng-content> </div>',
template: '<div class="card-shadow"> <ng-content/> </div>',
})
export class CustomCard {/* ... */}
```