react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
34 lines (33 loc) • 1.17 kB
TypeScript
import { SVGWrapper, Constructor } from '../Wrapper.js';
import { SVGmtable } from './mtable.js';
import { SVGmtd } from './mtd.js';
export declare type SizeData = {
x: number;
y: number;
w: number;
lSpace: number;
rSpace: number;
lLine: number;
rLine: number;
};
declare const SVGmtr_base: Constructor<import("mathjax-full/ts/output/common/Wrappers/mtr").CommonMtr<SVGmtd<any, any, any>>> & Constructor<SVGWrapper<any, any, any>>;
export declare class SVGmtr<N, T, D> extends SVGmtr_base {
static kind: string;
parent: SVGmtable<N, T, D>;
H: number;
D: number;
tSpace: number;
bSpace: number;
tLine: number;
bLine: number;
toSVG(parent: N): void;
protected placeCells(svg: N): void;
placeCell(cell: SVGmtd<N, T, D>, sizes: SizeData): number;
protected placeColor(): void;
}
declare const SVGmlabeledtr_base: Constructor<import("mathjax-full/ts/output/common/Wrappers/mtr").CommonMlabeledtr<SVGmtd<any, any, any>>> & Constructor<SVGmtr<any, any, any>>;
export declare class SVGmlabeledtr<N, T, D> extends SVGmlabeledtr_base {
static kind: string;
toSVG(parent: N): void;
}
export {};