react-native-diff-component

1.0.7 • Public • Published

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

/react-native-diff-component/

    Package Sidebar

    Install

    npm i react-native-diff-component

    Weekly Downloads

    0

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    3.66 kB

    Total Files

    3

    Last publish

    Collaborators

    • danknotdank