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> {
children: ReactNode;
enableAnimation?: boolean;
isExplicit?: boolean;
}
@@ -105,7 +104,6 @@ export function BaseImage({
return (
<ImageContainer
className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit}
{...restContainerProps}
>
@@ -182,7 +180,6 @@ function ImageWithDebounce({
return (
<ImageContainer
className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit}
ref={ref}
{...restContainerProps}
@@ -216,7 +213,6 @@ function ImageWithDebounce({
return (
<ImageContainer
className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit}
{...restContainerProps}
>
@@ -284,7 +280,6 @@ function ImageWithViewport({
return (
<ImageContainer
className={clsx(containerClassName, containerPropsClassName)}
enableAnimation={enableAnimation}
isExplicit={isExplicit}
ref={ref}
{...restContainerProps}