docs: correct import path and self-closing tag in ng-content example

This commit is contained in:
SkyZeroZx 2025-11-08 14:42:25 -05:00 committed by Andrew Kushnir
parent 4b871b139b
commit 6a2f4a88de

View file

@ -20,14 +20,14 @@ export class BaseButton {}
```angular-ts
// ./app.component.ts
import { Component } from '@angular/core';
import { BaseButton } from './base-button/base-button.component.ts';
import { BaseButton } from './base-button/base-button.component';
@Component({
selector: 'app-root',
imports: [BaseButton],
template: `
<button baseButton>
Next <span class="icon arrow-right" />
Next <span class="icon arrow-right"></span>
</button>
`,
})