Switch to version 1: remove src/hooks/useCardAnimation.ts

This commit is contained in:
2026-03-04 19:07:21 +00:00
parent b55725bda8
commit 25fef0aec6

View File

@@ -1,18 +0,0 @@
import { useEffect, RefObject } from 'react';
export interface UseCardAnimationOptions {
containerRef: RefObject<HTMLDivElement>;
itemRefs: RefObject<(HTMLDivElement | null)[]>;
perspectiveRef?: RefObject<HTMLDivElement>;
bottomContentRef?: RefObject<HTMLDivElement>;
}
export const useCardAnimation = (options: UseCardAnimationOptions) => {
const { containerRef, itemRefs, perspectiveRef, bottomContentRef } = options;
useEffect(() => {
// Animation logic here
}, [containerRef, itemRefs, perspectiveRef, bottomContentRef]);
return {};
};