@data-driven-forms/react-form-renderer
Version:
React Form Renderer. Data Driven Forms converts JSON form definitions into fully functional React forms.
16 lines (14 loc) • 338 B
TypeScript
export interface UrlValidatorOptions {
emptyProtocol?: boolean;
protocolIdentifier?: boolean;
basicAuth?: boolean;
local?: boolean;
ipv4?: boolean;
ipv6?: boolean;
host?: boolean;
port?: boolean;
path?: boolean;
search?: boolean;
hash?: boolean;
}
export default function url(options: UrlValidatorOptions): RegExp;