source: node_modules/recharts/lib/state/ReportChartProps.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 452 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.ReportChartProps = ReportChartProps;
7var _react = require("react");
8var _rootPropsSlice = require("./rootPropsSlice");
9var _hooks = require("./hooks");
10function ReportChartProps(props) {
11 var dispatch = (0, _hooks.useAppDispatch)();
12 (0, _react.useEffect)(() => {
13 dispatch((0, _rootPropsSlice.updateOptions)(props));
14 }, [dispatch, props]);
15 return null;
16}
Note: See TracBrowser for help on using the repository browser.