1.0.7 • Published 4 years ago
react-native-diff-component v1.0.7
react-diff
This is a React Native implementation of react-diff-simple-component which was inspired by and updated from react-diff.
Highlights differences between two strings, uses the diff module
Installation
npm install react-native-diff-component
Demo
http://cezary.github.io/react-diff/
Example
import React from "react";
import Diff from "react-native-diff-component";
const MyComponent = () => {
return <Diff inputA="gogol" inputB="google" type="chars" />;
};
License
MIT