stenciljs

ion-label component inside the stencil-component-starter not getting rendered

倾然丶 夕夏残阳落幕 提交于 2019-12-04 09:58:12
I cloned the stencil-component-starter from: https://github.com/ionic-team/stencil-component-starter Then on the file: my-component.tsx I have the following code: import { Component, Prop } from '@stencil/core'; @Component({ tag: 'my-component', styleUrl: 'my-component.css', shadow: true }) export class MyComponent { @Prop() first: string; @Prop() last: string; @Prop() minHeartRate: number; @Prop() maxHeartRate: number; render() { return ( <div> Athlete: {this.first} {this.last} - Heart Rate Range: <ion-range mode="ios" dualKnobs={true} min={0} max={200} step={2} pin={true} snaps={true} value=