From 73f69c4cd2436f0f543caea3664c4ba5540c3c35 Mon Sep 17 00:00:00 2001 From: Natxo Date: Sat, 9 May 2026 13:17:27 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20index.d.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..e193223 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,7 @@ +export interface EditorProps { + value?: string | (() => string); + class?: string; + onchange?: (val: string) => void; +} + +export const Editor: (props: EditorProps) => HTMLElement; \ No newline at end of file