@@ -13,7 +13,6 @@ import { DialogManagerProvider } from '../../context';
1313
1414import type { LocalMessage , Message , SendMessageOptions } from 'stream-chat' ;
1515
16- import type { SearchQueryParams } from '../ChannelSearch/hooks/useChannelSearch' ;
1716import type { CustomAudioRecordingConfig } from '../MediaRecorder' ;
1817import { useRegisterDropHandlers } from './WithDragAndDropUpload' ;
1918
@@ -66,10 +65,6 @@ export type MessageInputProps = {
6665 isThreadInput ?: boolean ;
6766 /** Max number of rows the underlying `textarea` component is allowed to grow */
6867 maxRows ?: number ;
69- /** If true, the suggestion list will search all app users for an @mention, not just current channel members/watchers. Default: false. */
70- mentionAllAppUsers ?: boolean ;
71- /** Object containing filters/sort/options overrides for an @mention user query */
72- mentionQueryParams ?: SearchQueryParams [ 'userFilters' ] ;
7368 /** Min number of rows the underlying `textarea` will start with. The `grow` on MessageInput prop has to be enabled for `minRows` to take effect. */
7469 minRows ?: number ;
7570 /** Function to override the default message sending process. Not message updating process. */
@@ -86,7 +81,7 @@ export type MessageInputProps = {
8681 * Currently, `Enter` is the default submission key and `Shift`+`Enter` is the default combination for the new line.
8782 * If specified, this function overrides the default behavior specified previously.
8883 *
89- * Example of default behaviour :
84+ * Example of default behavior :
9085 * ```tsx
9186 * const defaultShouldSubmit = (event) => event.key === "Enter" && !event.shiftKey;
9287 * ```
0 commit comments