45 lines
1.5 KiB
React
45 lines
1.5 KiB
React
// Metro module 8565 (f8566).
|
|
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 Module8566 from "./Module8566";
|
|
import SVGMatrix from "./SVGMatrix";
|
|
let Ellipse;
|
|
let env5500 = {};
|
|
env5500[7] = function _isNativeReflectConstruct() {
|
|
let c16637_0;
|
|
try {
|
|
c16637_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c16637_0;
|
|
};
|
|
env5500[7] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
Ellipse = function Ellipse() {
|
|
_classCallCheck(this, Ellipse);
|
|
const r8 = _getPrototypeOf(Ellipse);
|
|
return _possibleConstructorReturn(this, (0, env5500[7])() ? Reflect.construct(r8, arguments, _getPrototypeOf(this).constructor) : r8.apply(this, arguments));
|
|
};
|
|
_inherits(Ellipse, SVGMatrix);
|
|
const r37 = _createClass(Ellipse, [{
|
|
key: "render",
|
|
value: function render() {
|
|
const props = this.props;
|
|
const { cx, cy, rx, ry } = props;
|
|
return <Module8566 ref={(a0) => this.refMethod(a0)} {...extract(this, props)} cx={cx} cy={cy} rx={rx} ry={ry} />;
|
|
}
|
|
}]);
|
|
r37.displayName = "Ellipse";
|
|
r37.defaultProps = {
|
|
cx: 0,
|
|
cy: 0,
|
|
rx: 0,
|
|
ry: 0
|
|
};
|
|
export default r37;
|