|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.RadialBarSector = RadialBarSector;
|
|---|
| 7 | exports.parseCornerRadius = parseCornerRadius;
|
|---|
| 8 | var React = _interopRequireWildcard(require("react"));
|
|---|
| 9 | var _ActiveShapeUtils = require("./ActiveShapeUtils");
|
|---|
| 10 | function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|---|
| 11 | function _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); }
|
|---|
| 12 | function parseCornerRadius(cornerRadius) {
|
|---|
| 13 | if (typeof cornerRadius === 'string') {
|
|---|
| 14 | return parseInt(cornerRadius, 10);
|
|---|
| 15 | }
|
|---|
| 16 | return cornerRadius;
|
|---|
| 17 | }
|
|---|
| 18 | function RadialBarSector(props) {
|
|---|
| 19 | return /*#__PURE__*/React.createElement(_ActiveShapeUtils.Shape, _extends({
|
|---|
| 20 | shapeType: "sector"
|
|---|
| 21 | }, props));
|
|---|
| 22 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.