Could it be possible to export a shareLink(socialmedia, options) function that build the url required by each social media?
eg
shareLink ("twitter", {url: https://github.com/next-share, text: "next-share is a social share..."}) or
twitterLink ({url...})
would return
https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fnext-share&text=next-share is a social share buttons for your next React apps.
the functions building the urls for the various social media (eg twitterLink) are already there, the issue is that they aren't exposed/exported by your library
Could it be possible to export a shareLink(socialmedia, options) function that build the url required by each social media?
eg
would return
the functions building the urls for the various social media (eg twitterLink) are already there, the issue is that they aren't exposed/exported by your library