@scbt-ecom/ui 0.77.1 → 0.77.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.
|
@@ -21,7 +21,12 @@ export interface BannerProps {
|
|
|
21
21
|
classes?: BannerClasses & {
|
|
22
22
|
advantages?: AdvantageClasses;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param props
|
|
27
|
+
* React.ComponentProps<'img'>
|
|
28
|
+
*/
|
|
29
|
+
renderImage?: (props: any) => ReactElement;
|
|
25
30
|
}
|
|
26
31
|
export declare const Banner: ({ variant, ...props }: BannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
32
|
export default Banner;
|
package/dist/widget.js
CHANGED
|
@@ -993,10 +993,10 @@ const mr = P(() => Promise.resolve().then(() => Sr)), hr = P(() => Promise.resol
|
|
|
993
993
|
"relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]",
|
|
994
994
|
i == null ? void 0 : i.imageContainer
|
|
995
995
|
),
|
|
996
|
-
children: b(p ? { src: a.src, alt: u, className: l("h-full object-
|
|
996
|
+
children: b(p ? { src: a.src, alt: u, className: l("h-full object-contain") } : {
|
|
997
997
|
src: d.src,
|
|
998
998
|
alt: u,
|
|
999
|
-
className: l("h-full object-
|
|
999
|
+
className: l("h-full object-contain")
|
|
1000
1000
|
})
|
|
1001
1001
|
}
|
|
1002
1002
|
)
|