UNPKG

interweave

Version:

React library to safely render HTML, filter attributes, autowrap text, autolink, and much more.

7 lines 337 B
import { MatchCallback, MatchResponse } from './types'; /** * Trigger the actual pattern match and package the matched * response through a callback. */ export declare function match<T>(string: string, pattern: RegExp | string, process: MatchCallback<T>, isVoid?: boolean): MatchResponse<T> | null; //# sourceMappingURL=match.d.ts.map