react-diff-component

    0.1.5 • Public • Published

    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

    Keywords

    none

    Install

    npm i react-diff-component

    DownloadsWeekly Downloads

    157

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    36.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • lefortov