wallet-core/packages/web-util/src/forms/InputText.tsx
2023-09-25 14:50:39 -03:00

9 lines
245 B
TypeScript

import { VNode, h } from "preact";
import { InputLine, UIFormProps } from "./InputLine.js";
export function InputText<T extends object, K extends keyof T>(
props: UIFormProps<T, K>,
): VNode {
return <InputLine type="text" {...props} />;
}