@razorpay/blade
Version:
The Design System that powers Razorpay
26 lines (22 loc) • 748 B
JavaScript
import * as React from 'react';
import { forwardRef } from 'react';
import { arrayTooltipSearcher } from '../state/optionsSlice.js';
import { CartesianChart } from './CartesianChart.js';
var allowedTooltipTypes = ['axis'];
/**
* @consumes ResponsiveContainerContext
* @provides CartesianViewBoxContext
* @provides CartesianChartContext
*/
var AreaChart = /*#__PURE__*/forwardRef((props, ref) => {
return /*#__PURE__*/React.createElement(CartesianChart, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
validateTooltipEventTypes: allowedTooltipTypes,
tooltipPayloadSearcher: arrayTooltipSearcher,
categoricalChartProps: props,
ref: ref
});
});
export { AreaChart };
//# sourceMappingURL=AreaChart.js.map