Using marked in react
<p>I want to use marked in reactjs as described in the <a href="https://facebook.github.io/react/docs/tutorial.html#adding-markdown" rel="noreferrer">reactjs docs</a>.</p>

<pre><code>&lt;div&gt;{marked(mystring)}&lt;/div&gt;
</code></pre>

<p>I use babel so I import marked like this:</p>

<pre><code>import { marked } from 'marked';
</code></pre>

<p>Unfortunately the import statement does not work. marked is not defined.
How do I have to import marked here, so that I can use it?</p>