import { splitProps } from 'solid-js' import { cn } from '@/lib/utils' export interface InputProps { class?: string type?: string placeholder?: string value?: string onInput?: (e: InputEvent) => void onChange?: (e: Event) => void disabled?: boolean } export function Input(props: InputProps) { const [local, others] = splitProps(props, [ 'class', 'type', 'placeholder', 'value', 'onInput', 'onChange', 'disabled', ]) return ( ) }