/** * Wrapper around the TeX component from react-components-package * which adds logic to track whether all pieces of math in an exercise * have been loaded. This tracking is facilitated by the AssetContext. */ import * as React from "react"; type Props = { children: string; onRender: () => void; setAssetStatus: (assetKey: string, loaded: boolean) => void; }; type State = { rendered: boolean; }; export default class Tex extends React.Component { _hasRendered: boolean; static defaultProps: { onRender: () => void; setAssetStatus: (src: string, status: boolean) => void; }; constructor(props: Props); handleRender: () => void; render(): React.ReactNode; } export {};