Re-level non-docs content to top of repo and rename content→docs

This commit is contained in:
mDuo13
2024-01-31 16:24:01 -08:00
parent f841ef173c
commit c10beb85c2
2907 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import { javascript } from '@codemirror/lang-javascript'
import { Editor, EditorWrapperProps } from './editor'
export const JavascriptEditor = ({value, onChange, readOnly }: EditorWrapperProps) => {
return <Editor
value={value}
onChange={onChange}
readOnly={readOnly}
extensions={
[
javascript(),
]
}
/>
}