You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-39Lines changed: 0 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,6 @@ class Diff extends PureComponent {
78
78
|newValue |`string`|`''`|New value as string. |
79
79
|splitView |`boolean`|`true`|Switch between `unified` and `split` view. |
80
80
|disableWordDiff |`boolean`|`false`|Show and hide word diff in a diff line. |
81
-
|compareMethod |`string`|`'diffChars'`|JsDiff text diff method from https://github.com/kpdecker/jsdiff/tree/v4.0.1#api|
82
81
|hideLineNumbers |`boolean`|`false`|Show and hide line numbers. |
83
82
|renderContent |`function`|`undefined`|Render Prop API to render code in the diff viewer. Helpful for [syntax highlighting](#syntax-highlighting)|
84
83
|onLineNumberClick |`function`|`undefined`|Event handler for line number click. `(lineId: string) => void`|
@@ -149,44 +148,6 @@ class Diff extends PureComponent {
149
148
}
150
149
```
151
150
152
-
## Text block diff comparison
153
-
154
-
Different styles of text block diffing are possible by using the enums corresponding to various v4.0.1 JsDiff text block method names ([learn more](https://github.com/kpdecker/jsdiff/tree/v4.0.1#api)).
0 commit comments