wacomm 1.25.0 → 1.26.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.
@@ -1,7 +1,7 @@
1
1
  interface LetterAvatarProps {
2
2
  letter?: string;
3
3
  className?: string;
4
- imgSrc?: string;
4
+ imageSrc?: string;
5
5
  }
6
- declare function LetterAvatar({ letter, className, imgSrc }: LetterAvatarProps): import("react/jsx-runtime").JSX.Element;
6
+ declare function LetterAvatar({ letter, className, imageSrc }: LetterAvatarProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default LetterAvatar;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { ZeroFuncType } from 'waujs';
3
+ interface ImageProps {
4
+ ref: React.Ref<HTMLImageElement>;
5
+ src: string;
6
+ alt: string;
7
+ className?: string;
8
+ onClick?: ZeroFuncType;
9
+ style?: Object;
10
+ onLoad?: any;
11
+ }
12
+ declare function Image({ src, alt, ref, className, onClick, style, onLoad }: ImageProps): import("react/jsx-runtime").JSX.Element;
13
+ export default Image;
@@ -1,5 +1,5 @@
1
1
  export { default as A, ATarget } from './A';
2
- export { default as Img } from './Img';
2
+ export { default as Image } from './Image';
3
3
  export { default as H1 } from './H1';
4
4
  export { default as P } from './P';
5
5
  export { default as Textarea } from './Textarea';