UIInput
Preview
Section titled “Preview”| Prop | Type | Default | Description |
|---|---|---|---|
value | string | "" | Current input value |
placeholder | string | "" | Placeholder text |
onInput | (value: string) => void | — | Called on every keystroke with the new value |
import { UIInput } from "tango-api";
const [query, setQuery] = useState("");<UIInput value={query} placeholder="Search..." onInput={setQuery} />