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
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# jsondiffpatch-for-react
2
-
Based on https://github.com/benjamine/jsondiffpatch
3
-
4
2
3
+
- Originally forked from archived https://github.com/hero-guo/jsondiffpatch-for-react
4
+
- Based on https://github.com/benjamine/jsondiffpatch
5
5
6
6
# 1. install
7
7
@@ -25,33 +25,33 @@ import JsonDiffReact from 'jsondiffpatch-for-react';
25
25
26
26
# 3. component props
27
27
28
-
*`left` (array, object, string)
28
+
-`left` (array, object, string)
29
29
30
-
*`right` (array, object, string)
30
+
-`right` (array, object, string)
31
31
32
-
*`show` (bool)
32
+
-`show` (bool)
33
33
34
-
you can show/hide unchanged values
34
+
you can show/hide unchanged values
35
35
36
-
*`annotated` (bool)
36
+
-`annotated` (bool)
37
37
38
-
This will render the original JSON delta in html, with annotations aside explaining the meaning of each part. This attempts to make the JSON delta format self-explained.
38
+
This will render the original JSON delta in html, with annotations aside explaining the meaning of each part. This attempts to make the JSON delta format self-explained.
39
39
40
-
*`tips` (string)
40
+
-`tips` (string)
41
41
42
42
Message that will displayed in case both elements are identical.
43
43
44
-
*`objectHash` (function)
44
+
-`objectHash` (function)
45
45
46
-
Will be passed to *jsondiffpatch* to improve array comparison performance, as described [here](https://github.com/benjamine/jsondiffpatch/blob/master/docs/arrays.md#an-example-using-objecthash).
46
+
Will be passed to _jsondiffpatch_ to improve array comparison performance, as described [here](https://github.com/benjamine/jsondiffpatch/blob/master/docs/arrays.md#an-example-using-objecthash).
0 commit comments