|
@@ -6,7 +6,7 @@ export function createDefaultOptions<T>(style: FileDiffOptions<T>["diffStyle"])
|
|
|
themeType: "system",
|
|
themeType: "system",
|
|
|
disableLineNumbers: false,
|
|
disableLineNumbers: false,
|
|
|
overflow: "wrap",
|
|
overflow: "wrap",
|
|
|
- diffStyle: style,
|
|
|
|
|
|
|
+ diffStyle: style ?? "unified",
|
|
|
diffIndicators: "bars",
|
|
diffIndicators: "bars",
|
|
|
disableBackground: false,
|
|
disableBackground: false,
|
|
|
expansionLineCount: 20,
|
|
expansionLineCount: 20,
|