react-diff-component
v0.1.5
Published
React diff string component
Readme
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 --saveDemo
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
