import { Threshold } from '@visx/threshold'; import type { TimeValue } from '../../../../common/timeSeries/models'; interface Props { curve: 'linear' | 'natural' | 'step'; fillAboveArea: string; fillBelowArea: string; fillOpacity?: number; getX: (timeValue: TimeValue) => number; getY0: (timeValue: TimeValue) => number; getY1: (timeValue: TimeValue) => number; graphHeight: number; id: string; timeSeries: Array; } const BasicThreshold = ({ getX, getY0, getY1, graphHeight, timeSeries, fillOpacity = 0.1, id, fillAboveArea, fillBelowArea, curve }: Props): JSX.Element => { return ( ); }; export default BasicThreshold;