react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
14 lines (13 loc) • 471 B
TypeScript
import { HTMLAdaptor } from './HTMLAdaptor.js';
declare global {
interface Window {
Document: typeof Document;
DOMParser: typeof DOMParser;
XMLSerializer: typeof XMLSerializer;
HTMLElement: typeof HTMLElement;
HTMLCollection: typeof HTMLCollection;
NodeList: typeof NodeList;
DocumentFragment: typeof DocumentFragment;
}
}
export declare function browserAdaptor(): HTMLAdaptor<HTMLElement, Text, Document>;