Tailwind, Prettier, ESLint, Typescript runner!

This commit is contained in:
Gregory Schier
2023-02-17 12:19:13 -08:00
parent 5b09b7b613
commit 23ed3f3a42
27 changed files with 3347 additions and 300 deletions

View File

@@ -0,0 +1,11 @@
import useCodeMirror from '../../hooks/useCodemirror';
import './Editor.css';
interface Props {
value: string;
}
export default function Editor(props: Props) {
const { ref } = useCodeMirror({ value: props.value });
return <div ref={ref} className="m-0 text-sm rounded-lg bg-gray-800 overflow-hidden" />;
}