react-email-share-link
A React component for creating share by email links.
Installation
npm install --save react-email-share-link
How to use
import EmailShare from 'react-email-share-link' <EmailShare ="mickey@mouse.com" ="Your subject" ="Your message, including the link to this page"> <a = ="external">Share this by email</a> </EmailShare>
NOTE: If you don't pass a body
prop, it will default to document.location.href
. If a body
is provided, don't forget to include a link to the page.
License
MIT © Hutson Inc