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 { G } from "react-native-svg";
import { VictoryContainer, VictoryLabel, Bar } from "victory-core/es";
import { VictoryBar } from "victory-bar/es";
class VictoryBarCustom extends VictoryBar {
static defaultProps = Object.assign({}, VictoryBar.defaultProps, {
dataComponent: ,
labelComponent: ,
containerComponent: ,
groupComponent:
import React from "react";
import { Dimensions } from "react-native";
import { G } from "react-native-svg";
import VictoryLabel from "./victory-label";
import VictoryContainer from "./victory-container";
import Bar from "./victory-primitives/bar";
import { VictoryBar } from "victory-bar/es";
export default class extends VictoryBar {
static defaultProps = Object.assign({}, VictoryBar.defaultProps, {
dataComponent: ,
labelComponent: ,
containerComponent: ,
groupComponent: