@matejmazur/react-katex
Advanced tools
Comparing version 2.1.8 to 2.1.9
12
index.js
@@ -5,14 +5,2 @@ import React, { memo } from 'react'; | ||
/** | ||
* @typedef {object} TeXProps | ||
* @prop {string} [children] | ||
* @prop {string} [math] | ||
* @prop {boolean} [block] | ||
* @prop {string} [errorColor] | ||
* @prop {(error: TypeError|KaTeX.ParseError) => React.ReactElement} [renderError] | ||
* | ||
* Renders LaTeX math | ||
* @param {TeXProps} props | ||
* @return {React.ReactElement} | ||
*/ | ||
function TeX(props) { | ||
@@ -19,0 +7,0 @@ const otherProps = omit( |
{ | ||
"name": "@matejmazur/react-katex", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "Display math in TeX with KaTeX and ReactJS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,5 +10,7 @@ <div align="center"> | ||
<p> | ||
Demo: https://codesandbox.io/s/github/MatejMazur/react-katex/tree/master/demo <br /> | ||
<i>(based on the https://github.com/talyssonoc/react-katex)</i> | ||
<a href="https://codesandbox.io/s/github/MatejMazur/react-katex/tree/master/demo" target="_blank">Examples</a> | ||
</p> | ||
<p> | ||
<i><small>(based on the <a href="https://github.com/talyssonoc/react-katex" target="_blank">https://github.com/talyssonoc/react-katex</a>)</small></i> | ||
</p> | ||
</div> | ||
@@ -15,0 +17,0 @@ <hr /> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186
21813
174