UNPKG

@furystack/shades

Version:

A lightweight UI framework for FuryStack with JSX support

15 lines 520 B
/** * SVG namespace and tag detection helpers. */ export declare const SVG_NS = "http://www.w3.org/2000/svg"; /** * Set of known SVG element tag names. * Used to determine whether to create elements with `createElementNS` * and to apply attributes via `setAttribute` instead of property assignment. */ export declare const SVG_TAGS: ReadonlySet<string>; /** * Returns true if the given tag name is a known SVG element. */ export declare const isSvgTag: (tag: string) => boolean; //# sourceMappingURL=svg.d.ts.map