-
-
- {threshold.color && (
-
- this.onChangeThresholdColor(threshold, color)}
- enableNamedColors={true}
- />
-
- )}
-
- {!isFinite(threshold.value) ? (
-
-
-
- ) : (
- <>
-
- ) => this.onChangeThresholdValue(event, threshold)}
- value={threshold.value}
- onBlur={this.onBlur}
- />
-
- {isPercent && (
-
-
-
- )}
-
this.onRemoveThreshold(threshold)}>
-
-
- >
- )}
-
- );
- };
-
- render() {
- const { steps } = this.state;
-
- return (
-