|
Last change
on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
653 bytes
|
| Line | |
|---|
| 1 | 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); }
|
|---|
| 2 | import * as React from 'react';
|
|---|
| 3 | import { Shape } from './ActiveShapeUtils';
|
|---|
| 4 | export function parseCornerRadius(cornerRadius) {
|
|---|
| 5 | if (typeof cornerRadius === 'string') {
|
|---|
| 6 | return parseInt(cornerRadius, 10);
|
|---|
| 7 | }
|
|---|
| 8 | return cornerRadius;
|
|---|
| 9 | }
|
|---|
| 10 | export 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.