New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-diff-component

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-diff-component

React Native component to highlight differences between inputs

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

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

Keywords

react native

FAQs

Package last updated on 30 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts