summaryrefslogtreecommitdiff
path: root/src/desktop/apps/edit.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/apps/edit.tsx')
-rw-r--r--src/desktop/apps/edit.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/desktop/apps/edit.tsx b/src/desktop/apps/edit.tsx
new file mode 100644
index 0000000..00aba45
--- /dev/null
+++ b/src/desktop/apps/edit.tsx
@@ -0,0 +1,13 @@
+import { ComponentChildren } from "preact"
+
+export function Edit(props: Edit.Props) {
+ return <textarea autocomplete="off" spellcheck={false}>
+ {props.children}
+ </textarea>
+}
+
+namespace Edit {
+ export type Props = {
+ children?: ComponentChildren
+ }
+}