@fernfernfern/react-diff

Highlight differences between inputs

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Dec 20, 2017Dec 19, 2017Minified + gzip package size for @fernfernfern/react-diff in KB

Readme

react-diff

Highlights differences between two strings, uses the diff module

Installation

npm install @fernfernfern/react-diff

Demo

http://cezary.github.io/react-diff/

Example

var React = require('react');
var Diff = require('react-diff');

var Component = React.createClass({
  render: function() {
    return (
      <Diff inputA="gogol" inputB="google" type="chars" />
    );
  }
});

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.