import { Component , h , Prop } from '@stencil/core' ; @ Component ( { tag : 'sc-threshold-legend-row' , shadow : false , } ) export class ScThresholdLegendRow { @ Prop ( ) color ! : string ; @ Prop ( ) label ! : string ; render ( ) { return ( < div > < div class = "box" style = { { backgroundColor : this . color } } /> {this.label} < /div>); } }