Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from "react";
import { Dimensions, Platform } from "react-native";
import { VictoryLine } from "victory-chart/src";
import { VictoryLabel, VictoryContainer, VictoryClipContainer, Curve } from "victory-core-native";
export default class extends VictoryLine {
static defaultProps = {
...VictoryLine.defaultProps,
dataComponent: ,
labelComponent: ,
containerComponent: ,
groupComponent: ,
width: Dimensions.get("window").width
};
shouldAnimate() {
return (Platform.OS === "android") ? false : Boolean(this.props.animate);
}
}