Open first search candidate on pressing "enter" key
This commit is contained in:
parent
db523f0684
commit
01efed8ec3
9 changed files with 218 additions and 14 deletions
|
@ -10,6 +10,7 @@ import type {
|
|||
ReplaceAvatarActionType,
|
||||
SaveAvatarToDiskActionType,
|
||||
} from '../../types/Avatar';
|
||||
import type { OpenConversationInternalType } from '../../state/ducks/conversations';
|
||||
|
||||
export enum FindDirection {
|
||||
Up,
|
||||
|
@ -42,6 +43,7 @@ export abstract class LeftPaneHelper<T> {
|
|||
event: ChangeEvent<HTMLInputElement>
|
||||
) => unknown;
|
||||
updateSearchTerm: (searchTerm: string) => unknown;
|
||||
openConversationInternal: OpenConversationInternalType;
|
||||
}>
|
||||
): null | ReactChild {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue