summaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx')
-rw-r--r--packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx b/packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx
index b819a5549..45229951e 100644
--- a/packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx
+++ b/packages/exchange-backoffice-ui/src/handlers/InputTextArea.tsx
@@ -1,6 +1,8 @@
import { VNode, h } from "preact";
import { InputLine, UIFormProps } from "./InputLine.js";
-export function InputTextArea(props: UIFormProps<string>): VNode {
+export function InputTextArea<T extends object, K extends keyof T>(
+ props: UIFormProps<T, K>,
+): VNode {
return <InputLine type="text-area" {...props} />;
}