(link: string, text: string)
| 19 | export const getWhatsappShareLink = (link: string): string => |
| 20 | `https://wa.me/?text=${encodeURIComponent(link)}`; |
| 21 | export const getTwitterShareLink = (link: string, text: string): string => |
| 22 | `http://twitter.com/share?url=${encodeURIComponent( |
| 23 | link, |
| 24 | )}&text=${encodeURIComponent(`${text} via @dailydotdev`)}`; |
| 25 | export const getFacebookShareLink = (link: string): string => |
| 26 | `https://www.facebook.com/sharer/sharer.php?display=page&u=${encodeURIComponent( |
| 27 | link, |
no outgoing calls
no test coverage detected