0.1.5 • Published 5 years ago
react-diff-component v0.1.5
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