diff options
| author | darkuss <darkussdelta@gmail.com> | 2026-08-13 05:13:32 +0200 |
|---|---|---|
| committer | darkuss <darkussdelta@gmail.com> | 2026-08-13 05:13:32 +0200 |
| commit | 5ac62cc1a4d9a5f50ea26d5bc1afb0fbf95da23c (patch) | |
| tree | fd50520f319ec22798f8b3629899cd1bbef5af23 /src/desktop/apps/edit.tsx | |
init
Diffstat (limited to 'src/desktop/apps/edit.tsx')
| -rw-r--r-- | src/desktop/apps/edit.tsx | 13 |
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 + } +} |
