Home > @findkit/ui > useInput

useInput variable

Returns a ref for binding a inputs to the search

Example:

const ref = useInput(); <input ref={ref} type="text" />

Signature:

useInput: typeof import("../core-hooks").useInput