@xsolla/xui-primitives-core 0.148.2 → 0.149.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/index.d.mts +4 -0
- package/index.d.ts +4 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -102,6 +102,10 @@ interface BoxProps {
|
|
|
102
102
|
as?: keyof JSX.IntrinsicElements;
|
|
103
103
|
src?: string;
|
|
104
104
|
alt?: string;
|
|
105
|
+
/** Image load error handler. Only used when as="img". */
|
|
106
|
+
onError?: (e: any) => void;
|
|
107
|
+
/** Image load success handler. Only used when as="img". */
|
|
108
|
+
onLoad?: (e: any) => void;
|
|
105
109
|
/** HTML id attribute */
|
|
106
110
|
id?: string;
|
|
107
111
|
/** Button type attribute (only used when as="button") */
|
package/index.d.ts
CHANGED
|
@@ -102,6 +102,10 @@ interface BoxProps {
|
|
|
102
102
|
as?: keyof JSX.IntrinsicElements;
|
|
103
103
|
src?: string;
|
|
104
104
|
alt?: string;
|
|
105
|
+
/** Image load error handler. Only used when as="img". */
|
|
106
|
+
onError?: (e: any) => void;
|
|
107
|
+
/** Image load success handler. Only used when as="img". */
|
|
108
|
+
onLoad?: (e: any) => void;
|
|
105
109
|
/** HTML id attribute */
|
|
106
110
|
id?: string;
|
|
107
111
|
/** Button type attribute (only used when as="button") */
|