wacomm 1.96.0 → 1.96.3

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.
@@ -5,9 +5,10 @@ interface ImgProps {
5
5
  alt: string;
6
6
  ref?: React.Ref<HTMLImageElement>;
7
7
  className?: string;
8
+ containerClassName?: string;
8
9
  onClick?: ZeroFuncType;
9
10
  style?: Object;
10
11
  onLoad?: any;
11
12
  }
12
- declare function Img({ src, alt, ref, className, onClick, style, onLoad }: ImgProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function Img({ src, alt, ref, className, containerClassName, onClick, style, onLoad }: ImgProps): import("react/jsx-runtime").JSX.Element;
13
14
  export default Img;
@@ -1,3 +1 @@
1
1
  export { default as Img } from './Img';
2
- export type { StaticImgProps } from './StaticImg';
3
- export { default as StaticImg } from './StaticImg';
@@ -0,0 +1,9 @@
1
+ interface ImageGridProps {
2
+ onSelect: (index: number) => void;
3
+ selectedSrc: string;
4
+ srcs: string[];
5
+ className?: string;
6
+ isMobile?: boolean;
7
+ }
8
+ export default function ImageGrid({ onSelect, selectedSrc, srcs, className, isMobile, }: ImageGridProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as ImageGrid } from './ImageGrid';
3
+ declare const meta: Meta<typeof ImageGrid>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const OneImage: Story;
7
+ export declare const ThreeImages: Story;
8
+ export declare const FiveImages: Story;
9
+ export declare const SixImages: Story;
@@ -0,0 +1 @@
1
+ export { default as ImageGrid } from './ImageGrid';
@@ -0,0 +1,2 @@
1
+ export * from './mediaUpload';
2
+ export * from './imageGrid';