-
-
Save wKoza/279f06dd2e983cc689f23c95d7f9b8b5 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: 'card', | |
template: ` | |
<div class="card"> | |
<h3 class="card-header"><ng-content select="div[role=header]"></ng-content></h3> | |
<div class="card-block"> | |
<ng-content></ng-content> | |
</div> | |
<div class="card-footer"> | |
<ng-content select="div[role=footer]"></ng-content> | |
</div> | |
</div> | |
`, | |
}) | |
export class CardComponent { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment