0.0.6 • Published 8 years ago

react-encoded-mailto v0.0.6

Weekly downloads
3
License
GPL-2.0
Repository
github
Last release
8 years ago

React Encoded <Mailto>

A react component to create and display a mailto link.

Getting Started

  • Install with NPM - npm install --save react-encoded-mailto

TODO

  • add honeypot

Usage

var React  = require('react');
var Mailto = require('react-mailto');

var Component = React.createClass({
  render: function () {
    return (
      <Mailto email="info@domain.com" obfuscate>
        info(at)domain.com
      </Mailto>
    );
  }
});

Options

PropertyTypeArgumentDefaultDescription
emailstring<required>nullemail address of the intended recipient.
obfuscateboolean<optional>trueobfuscate email content

Developing

react-mailto is built using ES7. Run the following task to compile the src/ into dist/.

npm run build

License

Copyright (c) 2015 Reza Jelveh Licensed under the GPL-v2 license.

Credits

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago