react-gh-like-diff icon indicating copy to clipboard operation
react-gh-like-diff copied to clipboard

Return the number of differences

Open Angelk90 opened this issue 2 years ago • 1 comments

Hi @neighborhood999 , Would it be possible to return these values? Schermata 2022-03-03 alle 12 39 42

        <ReactGhLikeDiff
          options={{
            originalFileName: TITLE,
            updatedFileName: TITLE,
          }}
          past={this.state.past}
          current={this.state.current}
          diff={({remove,add}) => console.log(remove, add)}
        />

Angelk90 avatar Mar 03 '22 11:03 Angelk90

@neighborhood999 : Are there any news?

Angelk90 avatar Mar 18 '22 20:03 Angelk90