Skip to content

actuallydan/react-diff-simple-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Given two inputs, highlights the differences (Fork of cezary/react-diff)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published