import { splitProps } from 'solid-js' import { JSX } from 'solid-js/jsx-runtime' type ShortTextInputProps = { ref: HTMLInputElement | undefined onInput: (value: string) => void } & Omit, 'onInput'> export const ShortTextInput = (props: ShortTextInputProps) => { const [local, others] = splitProps(props, ['ref', 'onInput']) return ( local.onInput(e.currentTarget.value)} {...others} /> ) }