UNPKG

@technobuddha/library

Version:
11 lines (10 loc) 354 B
/** * Surround text with an HTML tag * * @param input The text to surround * @param tagName The name of the tag * @param attributes A dictionary of name value pairs to use for attributes * @returns HTML tag with text */ export declare function tag(input: string, tagName?: string, attributes?: Record<string, string>): string; export default tag;