@momentum-design/components 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ const dynamicSVGImport = async (url, name, fileExtension) => {
|
|
17
17
|
const iconResponse = await response.text();
|
18
18
|
const returnValue = new DOMParser().parseFromString(iconResponse, 'text/html').body.children[0];
|
19
19
|
returnValue.setAttribute('data-name', name);
|
20
|
+
returnValue.setAttribute('part', 'icon');
|
20
21
|
return returnValue;
|
21
22
|
};
|
22
23
|
export { dynamicSVGImport };
|
package/package.json
CHANGED