File tree Expand file tree Collapse file tree 3 files changed +56
-3
lines changed Expand file tree Collapse file tree 3 files changed +56
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.24.0 (2023-07-20)
2
+
3
+ ### ✨ Features
4
+
5
+ * Add documentary icon
6
+
7
+ Credits
8
+
9
+ * [ @Bunlong ] ( https://github.com/Bunlong )
10
+
1
11
## 0.23.0 (2023-07-05)
2
12
3
13
### ✨ Features
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ Social media share buttons for your next React apps.
41
41
* PinterestShareCount
42
42
* TumblrShareCount
43
43
* VKShareCount
44
+ * Icons
44
45
45
46
## 🔧 Install
46
47
@@ -892,11 +893,53 @@ import { VKShareCount } from 'next-share'
892
893
| url | string | | The URL of the shared page. | ✅ |
893
894
| children | node | | React component, HTML element or string. | ❌ |
894
895
896
+ ## 💡 Usage of Icon
897
+
898
+ #### 👨💻 Code
899
+
900
+ ``` js
901
+ import {
902
+ EmailIcon ,
903
+ FacebookIcon ,
904
+ FacebookMessengerIcon ,
905
+ HatenaIcon ,
906
+ InstagramIcon ,
907
+ InstapaperIcon ,
908
+ LineIcon ,
909
+ LinkedinIcon ,
910
+ LivejournalIcon ,
911
+ MailruIcon ,
912
+ OKIcon ,
913
+ PinterestIcon ,
914
+ PocketIcon ,
915
+ RedditIcon ,
916
+ SpotifyIcon ,
917
+ TelegramIcon ,
918
+ TumblrIcon ,
919
+ TwitterIcon ,
920
+ ViberIcon ,
921
+ VKIcon ,
922
+ WeiboIcon ,
923
+ WhatsappIcon ,
924
+ WorkplaceIcon ,
925
+ } from ' next-share'
926
+ ```
927
+
928
+ #### 📖 Props
929
+
930
+ | Props | Type | Default | Description | Required |
931
+ | :--- | :--- | :--- | :--- | :--- |
932
+ | size | number | | Icon size in pixels. | ❌ |
933
+ | round | boolean | | Whether to show round or rect icons. | ❌ |
934
+ | borderRadius | number | | Allow rounded corners if using rect icons. | ❌ |
935
+ | bgStyle | object | | Customize background. | ❌ |
936
+ | iconFillColor | string | <code >white</code > | Customize icon fill color. | ❌ |
937
+
895
938
## 📜 Changelog
896
939
897
- Latest version 0.23 .0 (2023-07-05 ):
940
+ Latest version 0.24 .0 (2023-07-20 ):
898
941
899
- * Add SpotifyIcon
942
+ * Add documentary icon
900
943
901
944
Details changes for each release are documented in the [ CHANGELOG.md] ( https://github.com/Bunlong/next-share/blob/master/CHANGELOG.md ) .
902
945
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " next-share" ,
3
- "version" : " 0.23 .0" ,
3
+ "version" : " 0.24 .0" ,
4
4
"description" : " Social media share buttons for your next React apps." ,
5
5
"author" : " Bunlong <bunlong.van@gmail.com>" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments