-
-
Save anonymous/a1047971d747acacb545fb81c65c773f 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-cursosdesarrolloweb', | |
template: ` | |
<div class="cursosdesarrolloweb-add"> | |
<h3>Cursosdesarrolloweb</h3> | |
<h4>{{ data.name }}</h4> | |
<p>Precio: {{ data.price }}</p> | |
<p>{{ data.info }}</p> | |
</div> | |
`, | |
styles: [` | |
.cursosdesarrolloweb-add { | |
border: 1px solid gray; | |
padding: 5px; | |
padding-bottom: 20px; | |
padding-left: 20px; | |
border-radius: 10px; | |
background-color: goldenrod; | |
color: black; | |
} | |
`] | |
}) | |
export class CursosdesarrollowebComponent { | |
@Input() data: any; | |
constructor() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment