-
-
Save anonymous/4491929ff7020bf973934f9988b05436 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, Prop} from '@stencil/core' | |
@Component({ | |
tag: 'hola-mundo2', | |
styleUrl: 'hola-mundo2.scss' | |
}) | |
export class HolaMundo2 { | |
@Prop() text: string; | |
render () { | |
return ( | |
<div> | |
<h1>{ this.text }</h1> | |
</div> | |
) | |
} | |
} |
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 '@stencil/core' | |
@Component({ | |
tag: 'hola-mundo3', | |
styleUrl: 'hola-mundo3.scss' | |
}) | |
export class HolaMundo3 { | |
render () { | |
return ( | |
<div> | |
<hola-mundo2 text="Hola Mundo"></hola-mundo2> | |
</div> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment