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 } from "react-native";
import { VictoryArea } from "victory-area/es";
import VictoryLabel from "./victory-label";
import VictoryContainer from "./victory-container";
import VictoryClipContainer from "./victory-clip-container";
import Area from "./victory-primitives/area";
export default class extends VictoryArea {
static defaultProps = Object.assign({}, VictoryArea.defaultProps, {
dataComponent: <area>,
labelComponent: ,
containerComponent: ,
groupComponent: ,
width: Dimensions.get("window").width
});
}