import { JSX } from "solid-js"; type SimpleInputProps = { type?: "text" | "email" | "tel" | "password" | "url" | "date"; placeholder?: string; value: string | undefined; disabled?: boolean; onInput: JSX.EventHandler< HTMLInputElement | HTMLTextAreaElement, InputEvent >; }; export function SimpleInput(props: SimpleInputProps) { return ( props.onInput(e)} placeholder={props.placeholder} /> ); }