matrix-react-sdk
Version:
SDK for matrix.org using React
18 lines (17 loc) • 655 B
TypeScript
import React from "react";
import { ISearchResults } from "matrix-js-sdk/src/matrix";
import ScrollPanel from "./ScrollPanel";
import { SearchScope } from "../../Searching";
import ResizeNotifier from "../../utils/ResizeNotifier";
interface Props {
term: string;
scope: SearchScope;
inProgress: boolean;
promise: Promise<ISearchResults>;
abortController?: AbortController;
resizeNotifier: ResizeNotifier;
className: string;
onUpdate(inProgress: boolean, results: ISearchResults | null): void;
}
export declare const RoomSearchView: (props: Props & React.RefAttributes<ScrollPanel>) => React.ReactElement | null;
export {};