react-latex
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -5,3 +5,10 @@ 'use strict'; | ||
}); | ||
exports['default'] = {}; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
var _Latex = require('./Latex'); | ||
var _Latex2 = _interopRequireDefault(_Latex); | ||
exports['default'] = _Latex2['default']; | ||
module.exports = exports['default']; |
@@ -42,4 +42,4 @@ 'use strict'; | ||
var QLLatex = React.createClass({ | ||
displayName: 'QLLatex', | ||
var Latex = React.createClass({ | ||
displayName: 'Latex', | ||
@@ -86,2 +86,2 @@ propTypes: { | ||
module.exports = QLLatex; | ||
module.exports = Latex; |
{ | ||
"name": "react-latex", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "React component to render latex strings", | ||
@@ -20,3 +20,5 @@ "homepage": "", | ||
"zzish", | ||
"component" | ||
"component", | ||
"react-component", | ||
"react-ui" | ||
], | ||
@@ -35,4 +37,3 @@ "devDependencies": { | ||
"jshint-stylish": "^1.0.0", | ||
"react": "^0.13.3", | ||
"react-components": "^0.2.0" | ||
"react": "^0.13.3" | ||
}, | ||
@@ -43,3 +44,6 @@ "scripts": { | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"dependencies": { | ||
"react-components": "^0.2.0" | ||
} | ||
} |
@@ -17,3 +17,11 @@ # react-latex [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
reactLatex('Rainbow'); | ||
... | ||
render(){ | ||
return ( | ||
<h3> | ||
<Latex>What is $(3\times 4) \div (5-3)$</Latex> | ||
</h3> | ||
); | ||
} | ||
... | ||
``` | ||
@@ -20,0 +28,0 @@ |
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
5497
12
79
39
1
+ Addedreact-components@^0.2.0
+ Addedreact-components@0.2.0(transitive)