useAnimation
함수
사용 중단 권고v20.2부터
Starts a reusable animation that is created using the animation() function.
사용 중단을 권고합니다.
API
function useAnimation(
animation: AnimationReferenceMetadata,
options?: AnimationOptions | null,
): AnimationAnimateRefMetadata;@paramoptions
AnimationOptions | nullAn options object that can contain a delay value for the start of the animation, and additional override values for developer-defined parameters.
@returns
AnimationAnimateRefMetadata상세 내용으로 이동