1.0.0 • Published 3 years ago

use-mail-to v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Use Mail To

Renders a link formatted to send an email (mailto: link).

NPM JavaScript Style Guide

Install

npm install --save use-mail-to

Usage

import React from 'react'

import { UseMailTo } from 'use-mail-to'

const App = () => {
  return (
    <UseMailTo email="foo@bar.baz" subject="Welcome" body="Hello world!">
      Mail me!
    </UseMailTo>
  )
}

export default App

License

MIT © saidMounaim