Skip to content

components/input

InputProps = object & InputHTMLAttributes<HTMLInputElement>>

Props accepted by Input.

optional invalid?: boolean

const Input: ForwardRefExoticComponent<object & InputHTMLAttributes<HTMLInputElement> > & RefAttributes<HTMLInputElement>>>>

A styled native text input that preserves caller-owned value and event behavior.


const SearchInput: ForwardRefExoticComponent<object & InputHTMLAttributes<HTMLInputElement> > & object & RefAttributes<HTMLInputElement>>>>

A native search input with an optional decorative leading icon.