Update docs

pull/12/head
Nikita Karamov 2020-06-26 17:27:59 +02:00
parent 7a695a6567
commit ae0413558e
No known key found for this signature in database
GPG Key ID: E40DFE6E993540FF
2 changed files with 13 additions and 12 deletions

View File

@ -48,10 +48,10 @@ classes match the names of social networks:
<a class="messenger"></a> <a class="messenger"></a>
<a class="odnoklassniki"></a> <a class="odnoklassniki"></a>
<a class="pinterest"></a> <a class="pinterest"></a>
<a class="telegram"></a> <button class="telegram"></button>
<a class="twitter"></a> <button class="twitter"></button>
<a class="vkontakte"></a> <button class="vkontakte"></button>
<a class="whatsapp"></a> <button class="whatsapp"></button>
</div> </div>
``` ```

View File

@ -106,6 +106,7 @@
<p>or install it via NPM use it in a JS file that you will later bundle:</p> <p>or install it via NPM use it in a JS file that you will later bundle:</p>
<pre><code>require('shareon');</code></pre> <pre><code>require('shareon');</code></pre>
<pre><code>import 'shareon';</code></pre>
</article> </article>
<article> <article>
@ -133,20 +134,20 @@
&lt;a class="messenger"&gt;&lt;/a&gt; &lt;a class="messenger"&gt;&lt;/a&gt;
&lt;a class="odnoklassniki"&gt;&lt;/a&gt; &lt;a class="odnoklassniki"&gt;&lt;/a&gt;
&lt;a class="pinterest"&gt;&lt;/a&gt; &lt;a class="pinterest"&gt;&lt;/a&gt;
&lt;a class="telegram"&gt;&lt;/a&gt; &lt;button class="telegram"&gt;&lt;/button&gt;
&lt;a class="twitter"&gt;&lt;/a&gt; &lt;button class="twitter"&gt;&lt;/button&gt;
&lt;a class="vkontakte"&gt;&lt;/a&gt; &lt;button class="vkontakte"&gt;&lt;/button&gt;
&lt;a class="whatsapp"&gt;&lt;/a&gt; &lt;button class="whatsapp"&gt;&lt;/button&gt;
&lt;/div&gt;</code></pre> &lt;/div&gt;</code></pre>
<div class="shareon"> <div class="shareon">
<a class="facebook"></a> <a class="facebook"></a>
<a class="messenger"></a> <a class="messenger"></a>
<a class="odnoklassniki"></a> <a class="odnoklassniki"></a>
<a class="pinterest"></a> <a class="pinterest"></a>
<a class="telegram"></a> <button class="telegram"></button>
<a class="twitter"></a> <button class="twitter"></button>
<a class="vkontakte"></a> <button class="vkontakte"></button>
<a class="whatsapp"></a> <button class="whatsapp"></button>
</div> </div>
<p> <p>