Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/Search.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ An object containing options to apply to the search:
- `targets`:`string[]`: an array of the indices on which to perform the search. Defaults to an empty array.
- `{any}`:`{any}`: any custom option to pass to the search engine.

{% raw %}
```tsx
<Search options={{ foo: 'bar' }} />
```
{% endraw %}

## `wait`

The number of milliseconds to wait before processing the search request, immediately after the user enters their last character.
Expand Down
8 changes: 7 additions & 1 deletion docs/SearchWithResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ An object containing options to apply to the search:
- `targets`: `string[]`: an array of the indices on which to perform the search. Defaults to an empty array.
- `{any}`: `{any}`: any custom option to pass to the search engine.

{% raw %}
```tsx
<SearchWithResult options={{ foo: 'bar' }} />
```
{% endraw %}

## `wait`

The number of milliseconds to wait before processing the search request, immediately after the user enters their last character.
Expand Down Expand Up @@ -427,4 +433,4 @@ export const App = () => (
</Admin>
);
```
{% endraw %}
{% endraw %}