# Search Input
URL: https://pro.rv-grid.com/api/search-input/
Source: src/content/docs/api/search-input.md
### `SearchInput`

```ts
export function SearchInput(;
```

---

### `SearchInputRenderable`

```ts
export type SearchInputRenderable = any;
```

---

### `SearchInputRef`

```ts
export type SearchInputRef<T> = { current: T | null } | ((instance: T | null) => void) | null;
```

---

### `SearchInputEvent` (Extended from `index.tsx`)

```ts
export type SearchInputEvent<T extends EventTarget> = Event & { currentTarget: T };
```

---

### `SearchInputProps`

```ts
export type SearchInputProps = {
  value?: string;
  inputRef?: SearchInputRef<HTMLInputElement>;
  rootClassName?: string;
  inputClassName?: string;
  iconClassName?: string;
  shortcutClassName?: string;
  shortcut?: SearchInputRenderable;
  icon?: SearchInputRenderable;
  hideIcon?: boolean;
  trailing?: SearchInputRenderable;
  testId?: string;
  onValueChange?: (value: string, event: SearchInputEvent<HTMLInputElement>) => void;
  onInput?: (event: SearchInputEvent<HTMLInputElement>) => void;
  [attribute: string]: any;
};
```
