16 lines
296 B
TypeScript
16 lines
296 B
TypeScript
import { useCardAnimation } from '../../hooks/useCardAnimation';
|
|
|
|
export function TimelineProcessFlow() {
|
|
const { animate } = useCardAnimation();
|
|
|
|
const handleAnimate = () => {
|
|
animate();
|
|
};
|
|
|
|
return (
|
|
<div>
|
|
<button onClick={handleAnimate}>Animate</button>
|
|
</div>
|
|
);
|
|
}
|