You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
378 B

import { render } from 'preact';
import { SpellChecker } from './spellChecker';
import './style.css';
export function App() {
return (
<>
<h1>Spell checker</h1>
<SpellChecker />
</>
);
}
const app = document.getElementById('app');
if (app) {
render(<App />, app);
} else {
console.error('Cannot find app container');
}