@@ -86,6 +86,7 @@ import {
86
86
| hashtag | string | | Hashtag to be shared. | ❌ |
87
87
| windowWidth | number | 550 | Opened window width. | ❌ |
88
88
| windowHeight | number | 400 | Opened window height. | ❌ |
89
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
89
90
90
91
#### 📖 [ FacebookIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
91
92
@@ -116,6 +117,7 @@ import {
116
117
| title | string | | The title of the shared page. | ❌ |
117
118
| windowWidth | number | 500 | Opened window width. | ❌ |
118
119
| windowHeight | number | 500 | Opened window height. | ❌ |
120
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
119
121
120
122
#### 📖 [ LineIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
121
123
@@ -147,6 +149,7 @@ import {
147
149
| description | string | | The description of the shared media. | ❌ |
148
150
| windowWidth | number | 1000 | Opened window width. | ❌ |
149
151
| windowHeight | number | 730 | Opened window height. | ❌ |
152
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
150
153
151
154
#### 📖 [ PinterestIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
152
155
@@ -177,6 +180,7 @@ import {
177
180
| title | string | | The title of the shared page. | ❌ |
178
181
| windowWidth | number | 660 | Opened window width. | ❌ |
179
182
| windowHeight | number | 460 | Opened window height. | ❌ |
183
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
180
184
181
185
#### 📖 [ RedditIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
182
186
@@ -207,6 +211,7 @@ import {
207
211
| title | string | | The title of the shared page. | ❌ |
208
212
| windowWidth | number | 550 | Opened window width. | ❌ |
209
213
| windowHeight | number | 400 | Opened window height. | ❌ |
214
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
210
215
211
216
#### 📖 [ TelegramIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
212
217
@@ -240,6 +245,7 @@ import {
240
245
| posttype | string | <code >link</code > | | ❌ |
241
246
| windowWidth | number | 660 | Opened window width. | ❌ |
242
247
| windowHeight | number | 460 | Opened window height. | ❌ |
248
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
243
249
244
250
#### 📖 [ TumblrIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
245
251
@@ -273,6 +279,7 @@ import {
273
279
| related | array | | | ❌ |
274
280
| windowWidth | number | 550 | Opened window width. | ❌ |
275
281
| windowHeight | number | 400 | Opened window height. | ❌ |
282
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
276
283
277
284
#### 📖 [ TwitterIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
278
285
@@ -304,6 +311,7 @@ import {
304
311
| separator | | | | ❌ |
305
312
| windowWidth | number | 660 | Opened window width. | ❌ |
306
313
| windowHeight | number | 460 | Opened window height. | ❌ |
314
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
307
315
308
316
#### 📖 [ ViberIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
309
317
@@ -336,6 +344,7 @@ import {
336
344
| image | string | | The image URL that will be shared. | ❌ |
337
345
| windowWidth | number | 660 | Opened window width. | ❌ |
338
346
| windowHeight | number | 550 | Opened window height. | ❌ |
347
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
339
348
340
349
#### 📖 [ WeiboIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
341
350
@@ -368,6 +377,7 @@ import {
368
377
| separator | string | | | ❌ |
369
378
| windowWidth | number | 550 | Opened window width. | ❌ |
370
379
| windowHeight | number | 400 | Opened window height. | ❌ |
380
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
371
381
372
382
#### 📖 [ WhatsappIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
373
383
@@ -394,6 +404,7 @@ import {
394
404
| url | string | | The URL of the shared page. | ✅ |
395
405
| windowWidth | number | 750 | Opened window width. | ❌ |
396
406
| windowHeight | number | 600 | Opened window height. | ❌ |
407
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
397
408
<!-- | title | string | | The title of the shared page. | ❌ |
398
409
| summary | string | | Description of the shared page. | ❌ |
399
410
| source | string | | Source of the content (e.g. your website or application name). | ❌ | -->
@@ -440,6 +451,7 @@ import {
440
451
| noVkLinks | boolean | | If true is passed, there will be no links to the user's profile in the open window. Only for mobile devices. | ❌ |
441
452
| windowWidth | number | 660 | Opened window width. | ❌ |
442
453
| windowHeight | number | 460 | Opened window height. | ❌ |
454
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
443
455
444
456
#### 📖 [ VKIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
445
457
@@ -472,6 +484,7 @@ import {
472
484
| imageUrl | string | | Image url of the shared page. | ❌ |
473
485
| windowWidth | number | 660 | Opened window width. | ❌ |
474
486
| windowHeight | number | 460 | Opened window height. | ❌ |
487
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
475
488
476
489
#### 📖 [ MailruIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
477
490
@@ -504,6 +517,7 @@ import {
504
517
| description | string | | Description of the shared page. | ❌ |
505
518
| windowWidth | number | 660 | Opened window width. | ❌ |
506
519
| windowHeight | number | 460 | Opened window height. | ❌ |
520
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
507
521
508
522
#### 📖 [ LivejournalIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
509
523
@@ -535,6 +549,7 @@ import {
535
549
| hashtag | string | | | ❌ |
536
550
| windowWidth | number | 550 | Opened window width. | ❌ |
537
551
| windowHeight | number | 400 | Opened window height. | ❌ |
552
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
538
553
539
554
#### 📖 [ WorkplaceIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
540
555
@@ -565,6 +580,7 @@ import {
565
580
| title | string | | Title of the shared page. Note that if Pocket detects a title tag on the page being saved, this parameter will be ignored and the title tag of the saved page will be used instead. | ❌ |
566
581
| windowWidth | number | 500 | Opened window width. | ❌ |
567
582
| windowHeight | number | 500 | Opened window height. | ❌ |
583
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
568
584
569
585
#### 📖 [ PocketIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
570
586
@@ -596,6 +612,7 @@ import {
596
612
| description | string | | Description of the shared page. | ❌ |
597
613
| windowWidth | number | 500 | Opened window width. | ❌ |
598
614
| windowHeight | number | 500 | Opened window height. | ❌ |
615
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
599
616
600
617
#### 📖 [ InstapaperIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
601
618
@@ -626,6 +643,7 @@ import {
626
643
| title | string | | Title of the shared page. | ❌ |
627
644
| windowWidth | number | 660 | Opened window width. | ❌ |
628
645
| windowHeight | number | 460 | Opened window height. | ❌ |
646
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
629
647
630
648
#### 📖 [ HatenaIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
631
649
@@ -658,6 +676,7 @@ import {
658
676
| to | string | | A user ID of a recipient. Once the dialog comes up, the sender can specify additional people as recipients. | ❌ |
659
677
| windowWidth | number | 1000 | Opened window width. | ❌ |
660
678
| windowHeight | number | 820 | Opened window height. | ❌ |
679
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
661
680
662
681
#### 📖 [ FacebookMessengerIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
663
682
@@ -689,6 +708,7 @@ import {
689
708
| subject | string | | | ❌ |
690
709
| body | string | | | ❌ |
691
710
| separator | string | | | ❌ |
711
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
692
712
693
713
#### 📖 [ EmailIcon props] ( https://github.com/Bunlong/next-share#-icons-props )
694
714
@@ -731,6 +751,7 @@ import {
731
751
| borderRadius | number | | Set rounded corners if using round icon. | ❌ |
732
752
| bgStyle | object | | Customize background style. | ❌ |
733
753
| iconFillColor | string | <code >white</code > | Customize icon fill color. | ❌ |
754
+ | blankTarget | boolean | false | Open share window in a new tab if set to ` true ` . | ❌ |
734
755
735
756
## 💡 Usage of ShareCount
736
757
@@ -778,9 +799,9 @@ import {
778
799
779
800
## 📜 Changelog
780
801
781
- Latest version 0.18.4 (2022-10-12 ):
802
+ Latest version 0.19.0 (2022-10-17 ):
782
803
783
- * Upgrade Linkedin API
804
+ * Add blankTarget props to open up a new tab
784
805
785
806
Details changes for each release are documented in the [ CHANGELOG.md] ( https://github.com/Bunlong/next-share/blob/master/CHANGELOG.md ) .
786
807
@@ -853,6 +874,15 @@ How to contribute:
853
874
</tr >
854
875
</table >
855
876
877
+ ## 👨👩👦 Advertisement
878
+
879
+ You maybe interested.
880
+
881
+ * [ React Patterns] ( https://github.com/reactpatterns/reactpatterns ) – React patterns & techniques to use in development for React Developer.
882
+ * [ React Papaparse] ( https://github.com/Bunlong/react-papaparse ) – The fastest in-browser CSV (or delimited text) parser for React.
883
+ * [ Next QRCode] ( https://github.com/bunlong/next-qrcode ) – React hooks for generating QR code for your next React apps.
884
+ * [ Next Time Ago] ( https://github.com/Bunlong/next-time-ago ) – A lightweight tiny time-ago component for your next React apps.
885
+
856
886
## ⚖️ License
857
887
858
888
The MIT License [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
0 commit comments