Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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