react-diff-simple-component

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-diff-simple-component

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.17 kB

Total Files

3

Last publish

Collaborators

  • danknotdank