@rfkit/charts 1.1.38 → 1.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,5 +5,6 @@ interface PopoverProps {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const SpectrumPopover: React.FC<PopoverProps>;
|
|
7
7
|
export declare const HeatmapPopover: React.FC<PopoverProps>;
|
|
8
|
+
export declare const LevelStreamPopover: React.FC<PopoverProps>;
|
|
8
9
|
export declare const OccupancyPopover: React.FC;
|
|
9
10
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SignalData } from '../../types/store';
|
|
3
|
+
interface SignalPosition {
|
|
4
|
+
left: number;
|
|
5
|
+
width: number;
|
|
6
|
+
color: string;
|
|
7
|
+
data: SignalData;
|
|
8
|
+
}
|
|
9
|
+
interface SegmentContainerProps {
|
|
10
|
+
style: React.CSSProperties;
|
|
11
|
+
signalPositions: SignalPosition[];
|
|
12
|
+
currentFrequency: number;
|
|
13
|
+
segmentIndex: number;
|
|
14
|
+
isCurrentSegment: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: React.NamedExoticComponent<SegmentContainerProps>;
|
|
17
|
+
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import SignalSwitch from './Switch';
|
|
3
3
|
import useSignal from './useSignal';
|
|
4
4
|
export { SignalSwitch, useSignal };
|
|
5
5
|
interface Props {
|
|
6
|
-
id
|
|
6
|
+
id: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const _default: React.NamedExoticComponent<Props>;
|
|
9
|
+
export default _default;
|