1.0.1 • Published 5 years ago

react-diff-simple-component v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

react-diff

NOTE: I stole this lib from cezary/react-diff

Highlights differences between two strings, uses the diff module

Installation

npm install react-diff

Demo

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

Example

import React from "react";
import Diff from "react-diff";

const MyComponent = () => {
  return <Diff inputA="gogol" inputB="google" type="chars" />;
};

License

MIT