import React, { useRef } from 'react'; import { useCardAnimation, UseCardAnimationOptions } from '@/hooks/useCardAnimation'; interface TimelineProcessFlowProps { children: React.ReactNode; containerClassName?: string; } export const TimelineProcessFlow: React.FC = ({ children, containerClassName = '' }) => { const containerRef = useRef(null); const itemRefs = useRef<(HTMLDivElement | null)[]>([]); const animationOptions: UseCardAnimationOptions = { containerRef, itemRefs, }; const { } = useCardAnimation(animationOptions); return (
{children}
); }; export default TimelineProcessFlow;