Skip to content

Lefortov/react-diff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-diff-component

Highlights differences between two strings, uses the diff module based on (https://github.com/cezary/react-diff)

Installation

npm install react-diff-component --save

Demo

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

Example

import Diff from 'react-diff-component';

const Component = () => (
    <Diff inputA="test" inputB="test2" type={Diff.types.chars} />
);

License

MIT

About

Given two inputs, highlights the differences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.1%
  • CSS 12.5%
  • HTML 7.4%