@@ -756,23 +756,12 @@ import {
756756
757757## 💡 Usage of ShareCount
758758
759+ ### 🎀 Facebook
760+
759761#### 👨💻 Code
760762
761763``` js
762- import {
763- FacebookShareCount ,
764- HatenaShareCount ,
765- OKShareCount ,
766- PinterestShareCount ,
767- TumblrShareCount ,
768- VKShareCount ,
769- } from ' next-share'
770-
771- < PinterestShareCount url= {' https://github.com/next-share' } / >
772-
773- < PinterestShareCount url= {' https://github.com/next-share' }>
774- {shareCount => < span className= " wrapper" > {shareCount}< / span> }
775- < / PinterestShareCount>
764+ import { FacebookShareCount } from ' next-share'
776765
777766< FacebookShareCount
778767 url= {' https://github.com/next-share' }
@@ -798,6 +787,111 @@ import {
798787| appSecret | string | | Facebook application secret. | ✅ |
799788| children | node | | React component, HTML element or string. | ❌ |
800789
790+ ### 🎀 Hatena
791+
792+ #### 👨💻 Code
793+
794+ ``` js
795+ import { HatenaShareCount } from ' next-share'
796+
797+ < HatenaShareCount url= {' https://github.com/next-share' } / >
798+
799+ < HatenaShareCount url= {' https://github.com/next-share' }>
800+ {shareCount => < span className= " wrapper" > {shareCount}< / span> }
801+ < / HatenaShareCount>
802+ ```
803+
804+ #### 📖 HatenaShareCount Props
805+
806+ | Props | Type | Default | Description | Required |
807+ | :--- | :--- | :--- | :--- | :--- |
808+ | url | string | | The URL of the shared page. | ✅ |
809+ | children | node | | React component, HTML element or string. | ❌ |
810+
811+ ### 🎀 OK
812+
813+ #### 👨💻 Code
814+
815+ ``` js
816+ import { OKShareCount } from ' next-share'
817+
818+ < OKShareCount url= {' https://github.com/next-share' } / >
819+
820+ < OKShareCount url= {' https://github.com/next-share' }>
821+ {shareCount => < span className= " wrapper" > {shareCount}< / span> }
822+ < / OKShareCount>
823+ ```
824+
825+ #### 📖 OKShareCount Props
826+
827+ | Props | Type | Default | Description | Required |
828+ | :--- | :--- | :--- | :--- | :--- |
829+ | url | string | | The URL of the shared page. | ✅ |
830+ | children | node | | React component, HTML element or string. | ❌ |
831+
832+ ### 🎀 Pinterest
833+
834+ #### 👨💻 Code
835+
836+ ``` js
837+ import { PinterestShareCount } from ' next-share'
838+
839+ < PinterestShareCount url= {' https://github.com/next-share' } / >
840+
841+ < PinterestShareCount url= {' https://github.com/next-share' }>
842+ {shareCount => < span className= " wrapper" > {shareCount}< / span> }
843+ < / PinterestShareCount>
844+ ```
845+
846+ #### 📖 PinterestShareCount Props
847+
848+ | Props | Type | Default | Description | Required |
849+ | :--- | :--- | :--- | :--- | :--- |
850+ | url | string | | The URL of the shared page. | ✅ |
851+ | children | node | | React component, HTML element or string. | ❌ |
852+
853+ ### 🎀 Tumblr
854+
855+ #### 👨💻 Code
856+
857+ ``` js
858+ import { TumblrShareCount } from ' next-share'
859+
860+ < TumblrShareCount url= {' https://github.com/next-share' } / >
861+
862+ < TumblrShareCount url= {' https://github.com/next-share' }>
863+ {shareCount => < span className= " wrapper" > {shareCount}< / span> }
864+ < / TumblrShareCount>
865+ ```
866+
867+ #### 📖 TumblrShareCount Props
868+
869+ | Props | Type | Default | Description | Required |
870+ | :--- | :--- | :--- | :--- | :--- |
871+ | url | string | | The URL of the shared page. | ✅ |
872+ | children | node | | React component, HTML element or string. | ❌ |
873+
874+ ### 🎀 VK
875+
876+ #### 👨💻 Code
877+
878+ ``` js
879+ import { VKShareCount } from ' next-share'
880+
881+ < VKShareCount url= {' https://github.com/next-share' } / >
882+
883+ < VKShareCount url= {' https://github.com/next-share' }>
884+ {shareCount => < span className= " wrapper" > {shareCount}< / span> }
885+ < / VKShareCount>
886+ ```
887+
888+ #### 📖 VKShareCount Props
889+
890+ | Props | Type | Default | Description | Required |
891+ | :--- | :--- | :--- | :--- | :--- |
892+ | url | string | | The URL of the shared page. | ✅ |
893+ | children | node | | React component, HTML element or string. | ❌ |
894+
801895## 📜 Changelog
802896
803897Latest version 0.19.0 (2022-10-17):
0 commit comments