From 8233d02a2d90e6c49a2ecd183d46982b9905d7c3 Mon Sep 17 00:00:00 2001 From: Zollero Date: Wed, 31 Jan 2024 14:00:55 +0800 Subject: [PATCH] fix: correct the default value of `useDarkTheme` in README (#39) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 546ed39..1689494 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ class Diff extends PureComponent { | extraLinesSurroundingDiff | `number` | `3` | Number of extra unchanged lines surrounding the diff. Works along with `showDiffOnly`. | | codeFoldMessageRenderer | `function` | `Expand {number} of lines ...` | Render Prop API to render code fold message. | | styles | `object` | `{}` | To override style variables and styles. Learn more about [overriding styles](#overriding-styles) | -| useDarkTheme | `boolean` | `true` | To enable/disable dark theme. | +| useDarkTheme | `boolean` | `false` | To enable/disable dark theme. | | 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. | | rightTitle | `string` | `undefined` | Column title for right section of the diff in split view. This will be ignored in inline view. | | linesOffset | `number` | `0` | Number to start count code lines from. |