export const ValueDisplay = ({prefix, value, suffix}) =>{ let val = '---' if(value) if(Number.isFinite(+value)) val = (+value).toPrecision(4)??'---' else val = value return({prefix} {val} {suffix}) } export const Display = (props)=>{ const {label} = props return
{label}
}