20 lines
331 B
TypeScript
20 lines
331 B
TypeScript
|
// #docregion
|
||
|
import { Component, Input } from '@angular/core';
|
||
|
|
||
|
import { AdComponent } from './ad.component';
|
||
|
|
||
|
@Component({
|
||
|
template: `
|
||
|
<div class="job-ad">
|
||
|
<h4>{{data.headline}}</h4>
|
||
|
|
||
|
{{data.body}}
|
||
|
</div>
|
||
|
`
|
||
|
})
|
||
|
export class HeroJobAdComponent implements AdComponent {
|
||
|
@Input() data: any;
|
||
|
|
||
|
}
|
||
|
|