notebook-preview
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "notebook-preview", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Lightweight preview of a notebook, nteract style", | ||
@@ -44,7 +44,7 @@ "main": "lib/index.js", | ||
"react-codemirror": "^0.2.6", | ||
"react-jupyter-display-area": "^0.4.0", | ||
"react-jupyter-display-area": "^0.4.1", | ||
"remark": "^4.2.2", | ||
"remark-react": "^2.0.0", | ||
"transformime-react": "^0.6.0" | ||
"transformime-react": "^0.6.1" | ||
} | ||
} |
@@ -6,4 +6,4 @@ # notebook-preview | ||
```js | ||
const NotebookPreview = require('notebook-preview'); | ||
import NotebookPreview from 'notebook-preview'; | ||
ReactDOM.render(<NotebookPreview notebook={notebookJSON}/>, document.querySelector('nb')); | ||
``` |
50177
29
940