mirror of
https://github.com/iconify/iconify.git
synced 2024-12-12 13:47:49 +00:00
chore: add noobserver attr to iconify-icon/solid
This commit is contained in:
parent
b1ebdde8a9
commit
d0f7988e1f
@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "SolidJS wrapper for Iconify Icon web component",
|
"description": "SolidJS wrapper for Iconify Icon web component",
|
||||||
"author": "Vjacheslav Trushkin",
|
"author": "Vjacheslav Trushkin",
|
||||||
"version": "2.1.0",
|
"version": "2.1.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": "https://github.com/iconify/iconify/issues",
|
"bugs": "https://github.com/iconify/iconify/issues",
|
||||||
"homepage": "https://iconify.design/",
|
"homepage": "https://iconify.design/",
|
||||||
|
@ -97,6 +97,7 @@ export function Icon(props: IconifyIconProps): JSX.Element {
|
|||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
preserveAspectRatio,
|
preserveAspectRatio,
|
||||||
|
noobserver,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
// Convert icon to string
|
// Convert icon to string
|
||||||
@ -115,6 +116,7 @@ export function Icon(props: IconifyIconProps): JSX.Element {
|
|||||||
attr:width={width}
|
attr:width={width}
|
||||||
attr:height={height}
|
attr:height={height}
|
||||||
attr:preserveAspectRatio={preserveAspectRatio}
|
attr:preserveAspectRatio={preserveAspectRatio}
|
||||||
|
attr:noobserver={noobserver}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user