@webstudio-is/image 0.192.0 → 0.193.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +3 -1
- package/lib/types/image.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
package/lib/types/image.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps } from "react";
|
|
1
|
+
import { type ComponentProps, type ForwardRefExoticComponent } from "react";
|
|
2
2
|
import { type ImageLoader } from "./image-optimize";
|
|
3
3
|
declare const defaultTag = "img";
|
|
4
4
|
type ImageProps = ComponentProps<typeof defaultTag> & {
|
|
@@ -6,6 +6,6 @@ type ImageProps = ComponentProps<typeof defaultTag> & {
|
|
|
6
6
|
optimize?: boolean;
|
|
7
7
|
loader: ImageLoader;
|
|
8
8
|
};
|
|
9
|
-
export declare const Image:
|
|
9
|
+
export declare const Image: ForwardRefExoticComponent<ImageProps>;
|
|
10
10
|
export declare const imagePlaceholderDataUrl: string;
|
|
11
11
|
export {};
|