@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
8 lines (7 loc) • 348 B
TypeScript
import type { RefObject } from 'react';
import type { StepIndex } from '../Context/types';
export default function useStepAnimation({ activeIndexRef, stepElementRef, executeLayoutAnimationRef, }: {
activeIndexRef: RefObject<StepIndex>;
stepElementRef: RefObject<HTMLElement>;
executeLayoutAnimationRef: RefObject<() => void>;
}): void;