Installation
npm install --save @types/react-latex
Summary
This package contains type definitions for react-latex (https://github.com/zzish/react-latex).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-latex.
index.d.ts
import * as React from "react";
interface LatexProps {
children?: string;
displayMode?: boolean;
leqno?: boolean;
fleqn?: boolean;
throwOnError?: boolean;
errorColor?: string;
macros?: Record<any, any>;
minRuleThickness?: number;
colorIsTextColor?: boolean;
maxSize?: number;
maxExpand?: number;
strict?: boolean | string | ((...args: any[]) => any);
trust?: boolean | ((...args: any[]) => any);
}
declare class Latex extends React.Component<LatexProps> {}
export = Latex;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/react
Credits
These definitions were written by Federico Grandi.