UNPKG

react-native-mathjax-html-to-svg

Version:

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

10 lines (9 loc) 508 B
import { AnyWrapper, WrapperConstructor, Constructor } from '../Wrapper.js'; import { BBox } from '../../../util/BBox.js'; import { Property } from '../../../core/Tree/Node.js'; export interface CommonMpadded extends AnyWrapper { getDimens(): number[]; dimen(length: Property, bbox: BBox, d?: string, m?: number): number; } export declare type MpaddedConstructor = Constructor<CommonMpadded>; export declare function CommonMpaddedMixin<T extends WrapperConstructor>(Base: T): MpaddedConstructor & T;