UNPKG

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) 491 B
import { OptionList } from '../../util/Options.js'; import { Styles } from '../../util/Styles.js'; import { LiteText } from './Text.js'; export declare type LiteAttributeList = OptionList; export declare type LiteNode = LiteElement | LiteText; export declare class LiteElement { kind: string; attributes: LiteAttributeList; children: LiteNode[]; parent: LiteElement; styles: Styles; constructor(kind: string, attributes?: LiteAttributeList, children?: LiteNode[]); }