UNPKG

react-native-mathjax-html-to-svg

Version:

React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)

12 lines (11 loc) 542 B
import { MmlVisitor } from './MmlVisitor.js'; import { MmlNode, TextNode, XMLNode } from './MmlNode.js'; export declare class MathMLVisitor extends MmlVisitor { protected document: Document; visitTree(node: MmlNode, document: Document): Node; visitTextNode(node: TextNode, parent: Element): void; visitXMLNode(node: XMLNode, parent: Element): void; visitInferredMrowNode(node: MmlNode, parent: Element): void; visitDefault(node: MmlNode, parent: Element): void; addAttributes(node: MmlNode, mml: Element): void; }