Skip to content

Commit 6684eaf

Browse files
committed
docs: fix prop docstrings
1 parent 2bfc86c commit 6684eaf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/experimental/Search/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type SearchProps = {
2424
directMessagingChannelType?: string;
2525
/** Sets the input element into disabled state */
2626
disabled?: boolean;
27-
/** Clear search state / results on every click outside the search input, defaults to true */
27+
/** Clear search state / results on every click outside the search input, defaults to false */
2828
exitSearchOnInputBlur?: boolean;
2929
/** Custom placeholder text to be displayed in the search input */
3030
placeholder?: string;

src/experimental/Search/SearchContext.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ export type SearchContextValue<
77
> = {
88
/** The type of channel to create on user result select, defaults to `messaging` */
99
directMessagingChannelType: string;
10+
/** Instance of the search controller that handles the data management */
1011
searchController: SearchController<StreamChatGenerics>;
1112
/** Sets the input element into disabled state */
1213
disabled?: boolean;
13-
// /** Clear search state / results on every click outside the search input, defaults to true */
14+
/** Clear search state / results on every click outside the search input, defaults to true */
1415
exitSearchOnInputBlur?: boolean;
1516
/** Custom placeholder text to be displayed in the search input */
1617
placeholder?: string;

0 commit comments

Comments
 (0)