@data-driven-forms/react-form-renderer
Version:
React Form Renderer. Data Driven Forms converts JSON form definitions into fully functional React forms.
18 lines (17 loc) • 416 B
TypeScript
interface UrlOptions {
emptyProtocol?: boolean;
protocolIdentifier?: boolean;
basicAuth?: boolean;
local?: boolean;
ipv4?: boolean;
ipv6?: boolean;
host?: boolean;
port?: boolean;
path?: boolean;
search?: boolean;
hash?: boolean;
protocol?: string | string[];
protocols?: string | string[];
}
declare let url: (options?: UrlOptions) => RegExp;
export default url;