@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
15 lines (14 loc) • 584 B
JavaScript
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import React from "react";
export const Text = _ref => {
let {
x = 0,
y = 0,
...props
} = _ref;
return /*#__PURE__*/React.createElement("skText", _extends({
x: x,
y: y
}, props));
};
//# sourceMappingURL=Text.js.map