mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
remove unused enableAnimation from ImageContainer
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user