2.0.3 • Published 6 months ago

@types/react-latex v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-latex 2.0
// Project: https://github.com/zzish/react-latex
// Definitions by: Federico Grandi <https://github.com/EndBug>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 28 Oct 2021 08:31:24 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Federico Grandi.