UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

29 lines 1.23 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var src_1 = require("../src"); // import { Text } from '../src/primitives/Text/Text'; // import { View } from '../src/primitives/View/View'; var SimplePage = /** @class */ (function (_super) { __extends(SimplePage, _super); function SimplePage() { return _super !== null && _super.apply(this, arguments) || this; } SimplePage.prototype.render = function () { return (React.createElement(src_1.View, null, React.createElement(src_1.Text, null, "Example text"))); }; return SimplePage; }(React.PureComponent)); exports.SimplePage = SimplePage; //# sourceMappingURL=SimplePage.js.map