Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 471 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 471 Bytes

react-diff

Highlights differences between two strings, uses the diff module

Installation

npm install 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