Created
October 12, 2016 07:42
-
-
Save wKoza/e32bb43124a788bff413d687d7a38d35 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
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app-cadre', | |
template: ` | |
<div class="bordure"> | |
<h1> | |
<ng-content></ng-content> | |
</h1> | |
</div> | |
`, | |
styles: [` | |
h1 { | |
color : darkmagenta; | |
} | |
.bordure { | |
border: 1px solid darkmagenta; | |
} | |
`] | |
}) | |
export class CadreComponent { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment