search-plus-ts
Version:
Search always with machs and highlights.
5 lines • 304 B
TypeScript
//#region src/lib/highlight.d.ts
declare function highlightWordsTag(text: string, search: string, className: string, tagName?: string): string;
declare function highlightWordsSymbols(text: string, search: string, symbol?: string): string;
//#endregion
export { highlightWordsSymbols, highlightWordsTag };