gifted-charts-core 0.0.35 → 0.0.36
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.
package/package.json
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type LineChartBicolorPropsType, type bicolorLineDataItem } from './types';
|
|
3
3
|
import { type BarAndLineChartsWrapperTypes } from '../utils/types';
|
|
4
|
-
import { type Animated } from 'react-native';
|
|
5
4
|
interface Points {
|
|
6
5
|
points: string;
|
|
7
6
|
color: string;
|
|
8
7
|
}
|
|
9
|
-
|
|
10
|
-
heightValue: Animated.Value;
|
|
11
|
-
widthValue: Animated.Value;
|
|
12
|
-
opacValue: Animated.Value;
|
|
13
|
-
}
|
|
14
|
-
export declare const useLineChartBiColor: (props: extendedLineChartBicolorPropsType) => {
|
|
8
|
+
export declare const useLineChartBiColor: (props: LineChartBicolorPropsType) => {
|
|
15
9
|
toggle: boolean;
|
|
16
10
|
setToggle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
17
11
|
pointsArray: Points[];
|
|
@@ -19,13 +19,7 @@ interface Points {
|
|
|
19
19
|
color: string
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
heightValue: Animated.Value
|
|
24
|
-
widthValue: Animated.Value
|
|
25
|
-
opacValue: Animated.Value
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export const useLineChartBiColor = (props: extendedLineChartBicolorPropsType) => {
|
|
22
|
+
export const useLineChartBiColor = (props: LineChartBicolorPropsType) => {
|
|
29
23
|
const [toggle, setToggle] = useState(false)
|
|
30
24
|
const [pointsArray, setPointsArray] = useState<Points[]>([])
|
|
31
25
|
const [fillPointsArray, setFillPointsArray] = useState<Points[]>([])
|