source: node_modules/recharts/es6/util/RadialBarUtils.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: 653 bytes
Line 
1function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2import * as React from 'react';
3import { Shape } from './ActiveShapeUtils';
4export function parseCornerRadius(cornerRadius) {
5 if (typeof cornerRadius === 'string') {
6 return parseInt(cornerRadius, 10);
7 }
8 return cornerRadius;
9}
10export function RadialBarSector(props) {
11 return /*#__PURE__*/React.createElement(Shape, _extends({
12 shapeType: "sector"
13 }, props));
14}
Note: See TracBrowser for help on using the repository browser.