myshell-react-lib 0.2.11 → 0.2.12

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/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ReactElement, SyntheticEvent } from 'react';
3
+ import React__default, { ReactElement, ReactEventHandler, SyntheticEvent } from 'react';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
6
6
  import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
@@ -525,6 +525,7 @@ interface ImageProps {
525
525
  fetchPriority?: 'auto' | 'high' | 'low' | 'low';
526
526
  loading?: 'eager' | 'lazy';
527
527
  style?: React.CSSProperties;
528
+ onLoad?: ReactEventHandler<HTMLImageElement>;
528
529
  /**
529
530
  * 加载错误回调
530
531
  */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  import * as React$1 from 'react';
3
- import React__default, { ReactElement, SyntheticEvent } from 'react';
3
+ import React__default, { ReactElement, ReactEventHandler, SyntheticEvent } from 'react';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
6
6
  import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
@@ -525,6 +525,7 @@ interface ImageProps {
525
525
  fetchPriority?: 'auto' | 'high' | 'low' | 'low';
526
526
  loading?: 'eager' | 'lazy';
527
527
  style?: React.CSSProperties;
528
+ onLoad?: ReactEventHandler<HTMLImageElement>;
528
529
  /**
529
530
  * 加载错误回调
530
531
  */