react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
23 lines (22 loc) • 719 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LiteDocument = void 0;
var Element_js_1 = require("./Element.js");
var LiteDocument = (function () {
function LiteDocument() {
this.root = new Element_js_1.LiteElement('html', {}, [
this.head = new Element_js_1.LiteElement('head'),
this.body = new Element_js_1.LiteElement('body')
]);
this.type = '<!DOCTYPE html>';
}
Object.defineProperty(LiteDocument.prototype, "kind", {
get: function () {
return '#document';
},
enumerable: false,
configurable: true
});
return LiteDocument;
}());
exports.LiteDocument = LiteDocument;