Skip to content

Commit 3a6e7fe

Browse files
author
Anna Baldwin
committed
update channel search mdx file
1 parent d817a67 commit 3a6e7fe

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docusaurus/docs/React/utility-components/channel-search.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ Custom UI component to display empty search results.
6363

6464
Custom search function to override default.
6565

66-
| Type |
67-
| ------------------------------------------------------------ |
68-
| (event: React.BaseSyntheticEvent) => Promise\<void\> \| void |
66+
| Type |
67+
| ------------------------------------------------------------------------------------------- |
68+
| (setQuery: React.Dispatch<React.SetStateAction<string\>\>, |
69+
| setResults: React.Dispatch<React.SetStateAction<Array<UserResponse\>\>\>, |
70+
| setResultsOpen: React.Dispatch<React.SetStateAction<boolean\>\>, |
71+
| setSearching: React.Dispatch<React.SetStateAction<boolean\>\>) =\> Promise\<void\> \| void |
6972

7073
### SearchLoading
7174

0 commit comments

Comments
 (0)