react-diff

0.0.7 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-diff

Weekly Downloads

35

Version

0.0.7

License

MIT

Last publish

Collaborators

  • cezary