
This commit updates the docs examples to be compatible with the `import-spacing` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
23 lines
412 B
TypeScript
23 lines
412 B
TypeScript
// #docregion
|
|
import { Component, Input } from '@angular/core';
|
|
|
|
import { AdComponent } from './ad.component';
|
|
|
|
@Component({
|
|
template: `
|
|
<div class="hero-profile">
|
|
<h3>Featured Hero Profile</h3>
|
|
<h4>{{data.name}}</h4>
|
|
|
|
<p>{{data.bio}}</p>
|
|
|
|
<strong>Hire this hero today!</strong>
|
|
</div>
|
|
`
|
|
})
|
|
export class HeroProfileComponent implements AdComponent {
|
|
@Input() data: any;
|
|
}
|
|
|
|
|