UNPKG

recharts

Version:
15 lines 573 B
import * as React from 'react'; import { forwardRef } from 'react'; import { arrayTooltipSearcher } from '../state/optionsSlice'; import { CartesianChart } from './CartesianChart'; var allowedTooltipTypes = ['axis']; export var ComposedChart = /*#__PURE__*/forwardRef((props, ref) => { return /*#__PURE__*/React.createElement(CartesianChart, { chartName: "ComposedChart", defaultTooltipEventType: "axis", validateTooltipEventTypes: allowedTooltipTypes, tooltipPayloadSearcher: arrayTooltipSearcher, categoricalChartProps: props, ref: ref }); });