Skip to content

Commit 37e4418

Browse files
committed
add linesOffset to README.md
1 parent 2abc925 commit 37e4418

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<p align="center">
23
<img src='https://i.ibb.co/DKrGhVQ/Frame-1-1.png' width="100%" alt='React Diff Viewer' />
34
</p>
@@ -78,6 +79,7 @@ class Diff extends PureComponent {
7879
| useDarkTheme | `boolean` | `true` | To enable/disable dark theme. |
7980
| leftTitle | `string` | `undefined` | Column title for left section of the diff in split view. This will be used as the only title in inline view. |
8081
| rightTitle | `string` | `undefined` | Column title for right section of the diff in split view. This will be ignored in inline view. |
82+
| linesOffset | `number` | `0` | Number to start count code lines from. |
8183

8284
## Instance Methods
8385

0 commit comments

Comments
 (0)