How to use victory-line - 1 common examples

To help you get started, we’ve selected a few victory-line examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FormidableLabs / victory-native / lib / components / victory-line.js View on Github external
import React from "react";
import { Dimensions } from "react-native";
import { VictoryLine } from "victory-line/es";
import VictoryLabel from "./victory-label";
import VictoryContainer from "./victory-container";
import VictoryClipContainer from "./victory-clip-container";
import Curve from "./victory-primitives/curve";

export default class extends VictoryLine {
  static defaultProps = Object.assign({}, VictoryLine.defaultProps, {
    dataComponent: ,
    labelComponent: ,
    containerComponent: ,
    groupComponent: ,
    width: Dimensions.get("window").width
  });
}

victory-line

Line Component for Victory

MIT
Latest version published 10 days ago

Package Health Score

98 / 100
Full package analysis

Popular victory-line functions