react-terminal-viewer
Version:
<h1 align="center"> react-terminal-viewer </h1>
22 lines (21 loc) • 540 B
TypeScript
import type { ISearchOptions } from '../SearchAddon';
export default class Logs {
private id;
private string;
private searcher;
private logDataMap;
constructor({ id, string }: {
id: string;
string: string;
});
convert(): string[];
getArrayData(): any;
mark(keyword: string, hlIndex?: number, options?: ISearchOptions | undefined): {
count: number;
map: {
[key: string]: string;
[key: number]: string;
};
markedKey: number;
};
}