summaryrefslogtreecommitdiff
path: root/src/desktop/apps/edit.tsx
blob: 00aba45d95edb08667b86ff0215953590b3a380b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
    }
}