cts-react-diff

1.0.0 • 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 cts-react-diff

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.6 kB

Total Files

4

Last publish

Collaborators

  • ctserv