From b748ff1d669f856075fa2f0bf3bb419676a7f22e Mon Sep 17 00:00:00 2001 From: Erwan Bourlon Date: Mon, 4 Mar 2024 19:10:34 +0100 Subject: [PATCH 1/2] update doc --- docs/Search.md | 4 ++++ docs/SearchWithResult.md | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/Search.md b/docs/Search.md index a3653655e9d..5def48dae36 100644 --- a/docs/Search.md +++ b/docs/Search.md @@ -232,6 +232,10 @@ 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. +```tsx + +``` + ## `wait` The number of milliseconds to wait before processing the search request, immediately after the user enters their last character. diff --git a/docs/SearchWithResult.md b/docs/SearchWithResult.md index f2bf8ea520a..57c882519ab 100644 --- a/docs/SearchWithResult.md +++ b/docs/SearchWithResult.md @@ -181,6 +181,10 @@ 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. +```tsx + +``` + ## `wait` The number of milliseconds to wait before processing the search request, immediately after the user enters their last character. @@ -427,4 +431,4 @@ export const App = () => ( ); ``` -{% endraw %} \ No newline at end of file +{% endraw %} From 7be6d9860d1e8d4f4cb6e93c3cd1110a32553933 Mon Sep 17 00:00:00 2001 From: Erwan Bourlon Date: Mon, 4 Mar 2024 19:19:03 +0100 Subject: [PATCH 2/2] surround code snippets --- docs/Search.md | 2 ++ docs/SearchWithResult.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/Search.md b/docs/Search.md index 5def48dae36..3b9addfa098 100644 --- a/docs/Search.md +++ b/docs/Search.md @@ -232,9 +232,11 @@ 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 ``` +{% endraw %} ## `wait` diff --git a/docs/SearchWithResult.md b/docs/SearchWithResult.md index 57c882519ab..05f7b4710dd 100644 --- a/docs/SearchWithResult.md +++ b/docs/SearchWithResult.md @@ -181,9 +181,11 @@ 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 ``` +{% endraw %} ## `wait`