remove unused enableAnimation from ImageContainer

This commit is contained in:
jeffvli
2026-02-10 21:46:54 -08:00
parent cc8cb4f4f1
commit 83f73c7fa9
-5
View File
@@ -34,7 +34,6 @@ export interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 's
interface ImageContainerProps extends HTMLAttributes<HTMLDivElement> { interface ImageContainerProps extends HTMLAttributes<HTMLDivElement> {
children: ReactNode; children: ReactNode;
enableAnimation?: boolean;
isExplicit?: boolean; isExplicit?: boolean;
} }
@@ -105,7 +104,6 @@ export function BaseImage({
return ( return (
<ImageContainer <ImageContainer
className={clsx(containerClassName, containerPropsClassName)} className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit} isExplicit={isExplicit}
{...restContainerProps} {...restContainerProps}
> >
@@ -182,7 +180,6 @@ function ImageWithDebounce({
return ( return (
<ImageContainer <ImageContainer
className={clsx(containerClassName, containerPropsClassName)} className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit} isExplicit={isExplicit}
ref={ref} ref={ref}
{...restContainerProps} {...restContainerProps}
@@ -216,7 +213,6 @@ function ImageWithDebounce({
return ( return (
<ImageContainer <ImageContainer
className={clsx(containerClassName, containerPropsClassName)} className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit} isExplicit={isExplicit}
{...restContainerProps} {...restContainerProps}
> >
@@ -284,7 +280,6 @@ function ImageWithViewport({
return ( return (
<ImageContainer <ImageContainer
className={clsx(containerClassName, containerPropsClassName)} className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit} isExplicit={isExplicit}
ref={ref} ref={ref}
{...restContainerProps} {...restContainerProps}