alignments (#633)

This commit is contained in:
Guy Ben-Aharon
2025-03-26 17:10:05 +02:00
committed by GitHub
parent 60fe0843ac
commit 0d1739d70f
7 changed files with 82 additions and 40 deletions

View File

@@ -1,2 +1,3 @@
import './config.ts';
export { Editor } from '@monaco-editor/react';
export { DiffEditor } from '@monaco-editor/react';

View File

@@ -18,6 +18,12 @@ export const Editor = lazy(() =>
}))
);
export const DiffEditor = lazy(() =>
import('./code-editor').then((module) => ({
default: module.DiffEditor,
}))
);
type EditorType = typeof Editor;
export interface CodeSnippetProps {