From ee4f07c03db5ec9c0e70225c0003ca1d9e78db29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E8=89=B3=E5=85=B5?= Date: Tue, 19 May 2026 10:23:28 +0800 Subject: [PATCH] chore: expose motion ref type --- package.json | 2 +- src/index.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e442ac4..7caeb91 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@types/minimatch": "5.1.2" }, "dependencies": { - "@rc-component/util": "^1.11.0", + "@rc-component/util": "^1.11.1", "clsx": "^2.1.1" }, "devDependencies": { 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,