diff --git a/examples/src/index.tsx b/examples/src/index.tsx index 4a8d3e2..e825169 100644 --- a/examples/src/index.tsx +++ b/examples/src/index.tsx @@ -18,6 +18,7 @@ interface ExampleState { language?: string; theme: 'dark' | 'light'; enableSyntaxHighlighting?: boolean; + columnHeaders: boolean; compareMethod?: DiffMethod; customGutter?: boolean; } @@ -31,6 +32,7 @@ class Example extends Component<{}, ExampleState> { highlightLine: [], theme: 'dark', splitView: true, + columnHeaders: true, customGutter: true, enableSyntaxHighlighting: true, compareMethod: DiffMethod.CHARS @@ -145,6 +147,22 @@ class Example extends Component<{}, ExampleState> { Syntax highlighting +
+ + Column Headers +