@whitespaceenergy/kpi-thermometer
v2.0.3
Published
Compare two kpi's with a benchmark
Downloads
6
Readme
import KPIThermometer from '@whitespaceenergy/kpi-thermometer'
<KPIThermometer
benchmark={{
name: 'Benchmark',
value: 20,
color: 'white',
}}
metric1={{
name: 'Metric 1',
value: 24,
color: '#FCAA67',
hide: false,
}}
metric2={{
name: 'Metric 2',
value: 18,
color: '#3C77FB',
hide: true,
}}
unit='kg'
inverted={false}
range={5}
hideNegative={true}
/>