From 5de30dbdea4ef033f13ff21a9c10b144877e8b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=AC=A2?= Date: Fri, 5 Jun 2026 10:26:06 +0800 Subject: [PATCH] feat: export CSSMotionRef type Co-Authored-By: Claude Opus 4.8 --- src/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index efd7b3c..c9a04c4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,8 @@ -import type { CSSMotionConfig, CSSMotionProps } from './CSSMotion'; +import type { + CSSMotionConfig, + CSSMotionProps, + CSSMotionRef, +} from './CSSMotion'; import CSSMotion, { genCSSMotion } from './CSSMotion'; import type { CSSMotionListProps } from './CSSMotionList'; import CSSMotionList from './CSSMotionList'; @@ -8,6 +12,7 @@ export { CSSMotionList, genCSSMotion }; export type { CSSMotionConfig, CSSMotionProps, + CSSMotionRef, CSSMotionListProps, MotionEventHandler, MotionEndEventHandler,