Last active
June 8, 2017 10:25
-
-
Save Rome-H/600a3b74117b75bf2e34ab70b2a9775e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'bot-detail-header', | |
template: ` | |
<h2>{{bot?.description}}</h2> | |
<h5>Total completed Rescues: {{completedRescues?.length}}</h5> | |
<newsletter></newsletter> | |
`, | |
changeDetection: ChangeDetectionStrategy.OnPush | |
}) | |
export class BotDetailHeaderComponent { | |
@Input() bot: Bot; | |
@Input() completedRescues: CompletedRescue[]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment