UNPKG

react-native-mathjax-html-to-svg

Version:

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

15 lines (14 loc) 441 B
import { SVG } from '../svg.js'; export declare class FontCache<N, T, D> { protected jax: SVG<N, T, D>; protected cache: Map<string, string>; protected defs: N; protected localID: string; protected nextID: number; constructor(jax: SVG<N, T, D>); cachePath(variant: string, C: string, path: string): string; clearLocalID(): void; useLocalID(id?: string): void; clearCache(): void; getCache(): N; }