UNPKG

@patternfly/react-charts

Version:

This library provides a set of React chart components for use with the PatternFly reference implementation.

26 lines 1.38 kB
import { ContainerType } from 'victory-create-container'; /** * Makes a container component with multiple behaviors. It allows you to effectively combine any two * containers of type 'brush', 'cursor', 'selection', 'voronoi', or 'zoom'. Default container props are applied to * support the PatternFly theme. * * Each behavior must be one of the following strings: 'brush', 'cursor', 'selection', 'voronoi', and 'zoom'. The * resulting container uses the events from both behaviors. For example, if both behaviors use the click event (like * zoom and selection) the combined container will trigger both behaviors' events on each click. * * Note: Order of the behaviors matters in a few cases. It is recommended to use 'zoom' before any other behaviors: for * example, createContainer('zoom', 'voronoi') instead of createContainer('voronoi', 'zoom'). * * See https://formidable.com/open-source/victory/docs/create-container * * @param {string} behaviorA 'brush', 'cursor', 'selection', 'voronoi', or 'zoom' * @param {string} behaviorB 'brush', 'cursor', 'selection', 'voronoi', or 'zoom' * @public */ export declare const createContainer: (behaviorA: ContainerType, behaviorB: ContainerType) => { (props: any): import("react/jsx-runtime").JSX.Element; defaultEvents: any; displayName: any; role: any; }; //# sourceMappingURL=chart-container.d.ts.map