SvgElementInfo › attr?
Official
Type: Record<string, boolean | null | number | string>
Example:
createSvg('svg', { attr: { id: 'foo', 'data-bar': 'baz' } });