intl-tel-input
Version:
A JavaScript plugin for entering and validating international telephone numbers
7 lines (6 loc) • 339 B
TypeScript
/**
* Build a space-delimited class string from an object map of className -> truthy/falsey.
* Only keys with truthy values are included.
*/
export declare const buildClassNames: (flags: Record<string, unknown>) => string;
export declare const createEl: (tagName: string, attrs?: object | null, container?: HTMLElement) => HTMLElement;