-
-
Save wKoza/332b1913b2129c506332bfca092c3924 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