aboutsummaryrefslogtreecommitdiff
path: root/packages/exchange-backoffice-ui/src/handlers/InputText.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-05-22 10:40:13 -0300
committerSebastian <sebasjm@gmail.com>2023-05-22 10:40:13 -0300
commit3e95ae356a98d01e523bdf48547db4114ff224fe (patch)
tree7cc1e488b902bb3a3eeba92ff81ea0e383ed542d /packages/exchange-backoffice-ui/src/handlers/InputText.tsx
parent0544b8358af68df87dbc472221d8c0842c2b2db0 (diff)
fix break on build
Diffstat (limited to 'packages/exchange-backoffice-ui/src/handlers/InputText.tsx')
-rw-r--r--packages/exchange-backoffice-ui/src/handlers/InputText.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/exchange-backoffice-ui/src/handlers/InputText.tsx b/packages/exchange-backoffice-ui/src/handlers/InputText.tsx
index 014730d92..1b37ee6fb 100644
--- a/packages/exchange-backoffice-ui/src/handlers/InputText.tsx
+++ b/packages/exchange-backoffice-ui/src/handlers/InputText.tsx
@@ -1,6 +1,8 @@
import { VNode, h } from "preact";
import { InputLine, UIFormProps } from "./InputLine.js";
-export function InputText<T>(props: UIFormProps<T>): VNode {
+export function InputText<T extends object, K extends keyof T>(
+ props: UIFormProps<T, K>,
+): VNode {
return <InputLine type="text" {...props} />;
}