44 lines
1.4 KiB
React
44 lines
1.4 KiB
React
// Metro module 8559 (f8560).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _possibleConstructorReturn from "./_possibleConstructorReturn";
|
|
import _getPrototypeOf from "./_getPrototypeOf";
|
|
import _inherits from "./_inherits";
|
|
import { extract } from "./extractProps";
|
|
import Module8560 from "./Module8560";
|
|
import SVGMatrix from "./SVGMatrix";
|
|
let Circle;
|
|
let env5491 = {};
|
|
env5491[7] = function _isNativeReflectConstruct() {
|
|
let c16634_0;
|
|
try {
|
|
c16634_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c16634_0;
|
|
};
|
|
env5491[7] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
Circle = function Circle() {
|
|
_classCallCheck(this, Circle);
|
|
const r8 = _getPrototypeOf(Circle);
|
|
return _possibleConstructorReturn(this, (0, env5491[7])() ? Reflect.construct(r8, arguments, _getPrototypeOf(this).constructor) : r8.apply(this, arguments));
|
|
};
|
|
_inherits(Circle, SVGMatrix);
|
|
const r37 = _createClass(Circle, [{
|
|
key: "render",
|
|
value: function render() {
|
|
const props = this.props;
|
|
const { cx, cy, r: r3 } = props;
|
|
return <Module8560 ref={(a0) => this.refMethod(a0)} {...extract(this, props)} cx={cx} cy={cy} r={r3} />;
|
|
}
|
|
}]);
|
|
r37.displayName = "Circle";
|
|
r37.defaultProps = {
|
|
cx: 0,
|
|
cy: 0,
|
|
r: 0
|
|
};
|
|
export default r37;
|