very simple hacked-together auto-completion demo
This commit is contained in:
commit
d05d9125c9
21 changed files with 3158 additions and 0 deletions
27
src/App.tsx
Normal file
27
src/App.tsx
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
// import { useState } from 'react'
|
||||
import './App.css'
|
||||
import { Editor } from './Editor'
|
||||
|
||||
import {module2Env, ModuleStd} from "dope2";
|
||||
|
||||
function App() {
|
||||
const env = module2Env(ModuleStd);
|
||||
|
||||
return (
|
||||
<>
|
||||
<header>
|
||||
{/* Header content */}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<Editor env={env}></Editor>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<a href="https://deemz.org/git/joeri/dope2-webapp">Source code</a>
|
||||
</footer>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Loading…
Add table
Add a link
Reference in a new issue