2
0
mirror of https://github.com/iconify/iconify.git synced 2024-06-16 21:52:21 +00:00

chore: add noobserver attr to iconify-icon/solid

This commit is contained in:
Vjacheslav Trushkin 2024-04-17 09:53:31 +03:00
parent b1ebdde8a9
commit d0f7988e1f
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"type": "module",
"description": "SolidJS wrapper for Iconify Icon web component",
"author": "Vjacheslav Trushkin",
"version": "2.1.0",
"version": "2.1.1",
"license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/",

View File

@ -97,6 +97,7 @@ export function Icon(props: IconifyIconProps): JSX.Element {
width,
height,
preserveAspectRatio,
noobserver,
} = props;
// Convert icon to string
@ -115,6 +116,7 @@ export function Icon(props: IconifyIconProps): JSX.Element {
attr:width={width}
attr:height={height}
attr:preserveAspectRatio={preserveAspectRatio}
attr:noobserver={noobserver}
{...props}
/>
);