-
-
Save anonymous/9fc15716132d6bcd4c7376fded605720 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, Input} from '@angular/core'; | |
@Component({ | |
selector: 'app-unodepiera', | |
template: ` | |
<div class="unodepiera-add"> | |
<h3>Unodepiera</h3> | |
<h4>{{ data.title }}</h4> | |
{{ data.body }} | |
</div> | |
`, | |
styles: [` | |
.unodepiera-add { | |
border: 1px solid gray; | |
padding: 5px; | |
padding-bottom: 20px; | |
padding-left: 20px; | |
border-radius: 10px; | |
background-color: brown; | |
color: white; | |
} | |
`] | |
}) | |
export class UnodepieraComponent { | |
@Input() data: any; | |
constructor() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment