interweave-autolink
Version:
URL, IP, email, and hashtag autolinking support for Interweave.
9 lines • 439 B
TypeScript
import React from 'react';
import { MatchResponse } from 'interweave';
import { UrlMatcherOptions, UrlProps } from './types';
import { UrlMatch, UrlMatcher } from './UrlMatcher';
export declare class IpMatcher extends UrlMatcher {
constructor(name: string, options?: UrlMatcherOptions, factory?: React.ComponentType<UrlProps> | null);
match(string: string): MatchResponse<UrlMatch> | null;
}
//# sourceMappingURL=IpMatcher.d.ts.map