@types/react-latex
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-latex

Weekly Downloads

1,291

Version

2.0.3

License

MIT

Unpacked Size

3.69 kB

Total Files

5

Last publish

Collaborators

  • types