use-mail-to
v1.0.0
Published
Renders a link formatted to send an email (mailto: link).
Downloads
1
Readme
React Use Mail To
Renders a link formatted to send an email (mailto: link).
Install
npm install --save use-mail-to
Usage
import React from 'react'
import { UseMailTo } from 'use-mail-to'
const App = () => {
return (
<UseMailTo email="[email protected]" subject="Welcome" body="Hello world!">
Mail me!
</UseMailTo>
)
}
export default App
License
MIT © saidMounaim