Awesome Placeholder Article

Awesome Placeholder Article

Some tips for your blog

Posted by Moi on 23 mai 2022
<pre class="language-jsx"><code class="language-jsx">import { getArticles } from '@polyblog/polyblog-js-client' export default function Article({article}) { return ( &lt;div&gt; {article && ( &lt;div&gt; &lt;h1&gt;{article.title}&lt;/h1&gt; &lt;div&gt;{article.subtitle}&lt;/div&gt; &lt;div dangerouslySetInnerHTML={{ __html: article.content }} /&gt; &lt;/div&gt; )} &lt;/div&gt; ) } </code></pre>
icon-facebook
icon-linkedin

Sign up for our newsletter

Recent articles